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
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
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