[CMake] Mac OS X framework bundles don't end up in the specified build directory

Tron Thomas tron.thomas at verizon.net
Sat Jan 3 13:49:44 EST 2009


I want to use CMake to configure a project so that all programs and  
libraries are built into the same directory.  So for a debug build of  
the project the directory might be something like ProjectName/build/ 
Debug.

This works fine for most targets.  However built Mac OS X framework  
bundles do not end up in this directory.  They end up in a  
subdirectory depending on where they were configured in the source code.

For example, if a framework was configured in ${CMAKE_SOURCE_DIR}/ 
ParentDirectory/FrameworkDirectory, the built framework will end up in  
ProjectName/build/ParentDirectory/FrameworkDirectory/Debug.

It is not at all clear frameworks bundles are treated this way and  
will end up in different location from all other built targets.

What can be done to place framework bundles in their desired location?



More information about the CMake mailing list