summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake')
-rw-r--r--Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake b/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake
new file mode 100644
index 0000000..28d29e0
--- /dev/null
+++ b/Tests/RunCMake/CompilerChange/EmptyCompiler-override.cmake
@@ -0,0 +1,2 @@
+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")