
650 VII Software Design
application in the application bundle, which is located directly in the root
of the bundle. CMake lets you identify a template file with wildcards, which
we name Info.plist.in.
SET(APP_PLIST_FILE
{APP_ROOT }/ config /apple /osx/ Info. plist.in)
SET_TARGET_PROPERTIES( {APP_NAME } PROPERTIES
MACOSX_BUNDLE_INFO_PLIST {APP_PLIST_FILE})
CMake will read the Info.plist.in, substitute the wildcards, and generate a
Info.plist in a private section of its build directory, e.g.,
path/to/build/CMakeFiles/HelloWorld.dir/Info.plist. This file is linked and
added to the Xcode project files automatically, after which Xcode will copy it
to the root