On 09/08/2010 12:11 AM, SK wrote:
> Alright, I ended up rototilling and using a dummy file approach, as in:
>
> SET( _relink_dummy "${CMAKE_CURRENT_BINARY_DIR}/relink_dummy.c" )
> ADD_EXECUTABLE( ${_app_name} ${_app_srcs} ${_relink_dummy} )
> SET_SOURCE_FILES_PROPERTIES( ${_relink_dumm
Alright, I ended up rototilling and using a dummy file approach, as in:
SET( _relink_dummy "${CMAKE_CURRENT_BINARY_DIR}/relink_dummy.c" )
ADD_EXECUTABLE( ${_app_name} ${_app_srcs} ${_relink_dummy} )
SET_SOURCE_FILES_PROPERTIES( ${_relink_dummy} PROPERTIES GENERATED TRUE )
ADD_CUSTO
Hello,
I have an external build process that produces a linker script that I
must use in my CMake project. I must leave the external build as-is.
I'm using gcc in Linux.
I must relink my application built with CMake if the linker script
changes. I'm trying to do this in a simple macro and it's