[CMake] Different linker-init options depending of the build type
Matthias Goesswein
tisi at sbox.tugraz.at
Thu Apr 15 02:35:25 EDT 2010
Hello!
I'm currently porting to a new platform (Fujitsu LX16 Microcontrollers)
and i found following flag-variables:
CMAKE_C_FLAGS_INIT
CMAKE_C_FLAGS_DEBUG_INIT
CMAKE_C_FLAGS_MINSIZEREL_INIT
CMAKE_C_FLAGS_RELWITHDEBINFO_INIT
But in the Modules which are shipped with CMake i only found
CMAKE_EXE_LINKER_FLAGS_INIT
as flag variable for the linker.
Are
CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT
... etc.
also possible and working?
Another question:
Are there any Init-flag-variables for static libraries too?
Cheers,
Matthias.
More information about the CMake
mailing list