I am getting to grip with cmake on an embedded system (ARM Cortex M3),
but I can't figure out if there is a better way to specify the linker
script file than with:
set(CMAKE_EXE_LINKER_FLAGS "-T ${LINKER_SCRIPT}")
if that then is way to do it, then what is the best way to add
${LINKER_SCRIPT} as dependency of the target EXE ?
i.e every touch of the linker script should cause the target to be relinked.
Cheers,
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake