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?

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to