[CMake] CMake 2.8, Xcode generator and XIB files

g4 at novadsp.com g4 at novadsp.com
Mon Oct 3 12:23:43 EDT 2011


Thanks all, the help is *very* much appreciated. I'll revise and report 
back.

On 03/10/2011 15:14, Richard Wackerbarth wrote:
> 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