summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerChange/SecondCompiler.cmake
blob: c87ec49522ea47b6460606bf65856afb61336471 (plain)
1
2
3
enable_language(C)
message(STATUS "CMAKE_C_COMPILER is \"${CMAKE_C_COMPILER}\"")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/cc.cmake" "set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")\n")