[CMake] CMake 2.8, Xcode generator and XIB files
Richard Wackerbarth
richard at NFSNet.org
Mon Oct 3 10:14:09 EDT 2011
I don't think that you want the SOURCE file in the bundle.
First, you need to process the source file with configure_file():
Use ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist as input
and ${CMAKE_CURRENT_BINARY_DIR}/Info.plist as output.
Then you incorporate the configured version into the bundle:
set_target_properties(${this_target} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
On Oct 3, 2011, at 8:24 AM, g4 at novadsp.com wrote:
> set_target_properties(${this_target} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
More information about the CMake
mailing list