summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ToolchainFile/LinkFlagsInit.cmake
blob: 069d7410e4c0ddd91a1da425542aa37d6b9d9df7 (plain)
1
2
3
4
5
6
7
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()