You need to do the SET calls *before* the ADD_EXECUTABLE calls. The ADD_EXECUTABLE uses the current value of those variables to configure an Info.plist file for a bundle app...<br><br>HTH,<br>David<br><br><br><div class="gmail_quote">
On Fri, Apr 18, 2008 at 3:23 AM, Dieter Oberkofler <<a href="mailto:d.1234567890@qualiant.at">d.1234567890@qualiant.at</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm using CMake 2.4.4 on the Apple OSX platform and have problems in getting<br>
CMake to generate correct bundles when specifying more then one target<br>
executable.<br>
<br>
In principle my CMakeLists.txt file looks as follows:<br>
...<br>
ADD_EXECUTABLE(LJS_001, MACOSX_BUNDLE ...)<br>
SET(MACOSX_BUNDLE_BUNDLE_NAME LJSApplication)<br>
SET(MACOSX_BUNDLE_BUNDLE_GUI_IDENTIFIER "com.qualiant.LJS")<br>
...<br>
ADD_EXECUTABLE(ODS_001, MACOSX_BUNDLE ...)<br>
SET(MACOSX_BUNDLE_BUNDLE_NAME ODSExample)<br>
SET(MACOSX_BUNDLE_BUNDLE_GUI_IDENTIFIER "com.qualiant.ODSExample")<br>
...<br>
<br>
When now building the two targets, only the bundle settings (e.g. the<br>
MACOSX_BUNDLE_BUNDLE_GUI_IDENTIFIER values) from the last target are used.<br>
<br>
What am I doing wrong?<br>
What is the relationship between the executables and the bundle definition?<br>
<br>
Any help is appreciated.<br>
<br>
Thank you,<br>
-D<br>
<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>