Hi,

I'd like to do something like

set_target_properties(foo PROPERTIES MACOSX_BUNDLE_INFO_PLIST 
${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in)
set_target_properties(foo PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.bar.foo")
# etc

for an application that will not be an app bundle but a regular POSIX 
executable. The resulting Info.plist can easily be included in the executable by

target_link_libraries(foo "-sectcreate __TEXT __info_plist 
${CMAKE_CURRENT_BINARY_DIR}/Info.plist")

but the template Info.plist isn't processed at all.

What's the best way to replace the above standard sequence of Info.plist set-up 
commands to obtain a preprocessed Info.plist that has the correct values 
substituted for the variables in the template?

Thanks,
René
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to