mirror of
https://github.com/reactos/CMake.git
synced 2025-01-05 18:38:46 +00:00
8a98cf6432
Document these variables. Change our convention for setting these variables from: set(CMAKE_EXE_LINKER_FLAGS_INIT "...") to string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " ...") so that any value previously set by a toolchain file will be used.
8 lines
308 B
CMake
8 lines
308 B
CMake
set(CMAKE_C_COMPILER_FORCED 1) # skip compiler test so we can check cached values
|
|
enable_language(C)
|
|
foreach(t EXE SHARED MODULE STATIC)
|
|
foreach(c "" _DEBUG _RELEASE _MINSIZEREL _RELWITHDEBINFO)
|
|
message(STATUS "CMAKE_${t}_LINKER_FLAGS${c}='${CMAKE_${t}_LINKER_FLAGS${c}}'")
|
|
endforeach()
|
|
endforeach()
|