[CMake] CMake and response files

Trevor Kellaway tkellaway at asl-electronics.co.uk
Mon May 28 13:08:42 EDT 2007


Hi,

Problem solved by using CMake's support for multiple command lines in
the link invocation:

 SET (CMAKE_C_LINK_EXECUTABLE
	"\"${CMAKE_COMMAND}\" -E echo LINK <TARGET> NAMES <OBJECTS>
<LINK_LIBRARIES> END > ${CMAKE_BINARY_DIR}/link.rsp"
	"${HC12_PIPER} <CMAKE_LINKER> <LINK_FLAGS> -B
${CMAKE_BINARY_DIR}/link.rsp"
	)


 - TrevK


More information about the CMake mailing list