MantisBT - CMake
View Issue Details
0001301CMakepublic2004-10-29 09:462005-07-14 15:24
Ken Moreland 
System Admin 
urgentmajoralways
closedfixed 
 
 
0001301: all target does not build MACOSX_BUNDLE
When a makefile is built for an executable with the MACOSX_BUNDLE flag on Mac OS X, two targets are made for the executable: exename and ${EXECUTABLE_OUTPUT_PATH}/exename.app/Contents/MacOS/exename. However, the all target points to ${EXECUTABLE_OUTPUT_PATH}/exename, which is neither a target nor a file that is built. Thus, the build fails on the default target or the all target.

Here is a simple CMakeLists.txt that demonstrates the problem:

PROJECT(TESTBUNDLE)
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
ADD_EXECUTABLE(testbundle MACOSX_BUNDLE main.cxx)
No tags attached.
Issue History

Notes
(0002665)
Bill Hoffman   
2005-07-14 15:24   
This seems to be working now in 2.2 and 2.3.