View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001302CMakepublic2004-10-29 09:512005-07-14 15:18
ReporterKen Moreland 
Assigned ToSystem Admin 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001302: Bundle directory not built for executables with MACOSX_BUNDLE
DescriptionWhen building an executable on Mac OS X with the MACOSX_BUNDLE flag, the executable is built inside a bundle directory. For example, the executable "exename" would be built in ${EXECUTABLE_OUTPUT_PATH}/exename.app/Contents/MacOS/exename. However, the bundle directory structure is never built so the linker fails to create the executable.

This CMakeLists.txt file demonstrates the problem:

PROJECT(TESTBUNDLE)
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
ADD_EXECUTABLE(testbundle MACOSX_BUNDLE main.cxx)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002135)
tsadowski (reporter)
2005-03-03 15:36

This bug seems also to be discribed here:
http://public.kitware.com/pipermail/cmake/2004-December/005944.html [^]

I had the same problem with wxVTK and it seems there is just a / missing when building the directories, i.e.:

binSample.app
instead of:
bin/Sample.app

(0002662)
Bill Hoffman (manager)
2005-07-14 15:18

This is fixed in cvs. There is now a BundleTest in cmake.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team