Re: [CMake] Elegant solution for preprocessing a linker script?

2013-11-07 Thread Williams, Norman K
Why doesn't this work? add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/api.lds MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/api.lds.S COMMAND ${CMAKE_C_COMPILER} -E ${CMAKE_CURRENT_SOURCE_DIR}/api.lds.S -P -o ${CMAKE_CURRENT_BINARY_DIR}/api.lds.S) The actual target that needs the li

[CMake] bug in boost library discovery?

2013-11-07 Thread James Sutherland
Hello fellow cmake enthusiasts. Beginning with a recent CMake update, find_package( Boost ... ) seems to be broken. Specifically, if I run ccmake, the first configure (press "c") finds the boost libraries, but sets "Boost_DIR" to "Boost_DIR-NOTFOUND". This has been the case for many releases of

Re: [CMake] Changes made for Mac fixup_bundle

2013-11-07 Thread Clinton Stimpson
BundleUtilities.cmake assumes a bundle layout, which is App.app/ Contents/ MacOS/ Frameworks/ Instead, you have install/ bin/TestApp Frameworks/ MacOS/ Which does not work. You could try overriding the relative placement of libraries with something like this: function(gp_it