summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerArgs/FindCCompiler.cmake
diff options
context:
space:
mode:
authorFred Baksik <fdk17@ftml.net>2020-07-20 13:45:32 (GMT)
committerFred Baksik <fdk17@ftml.net>2020-08-03 16:34:46 (GMT)
commitf76c20da6395c0830ac0de667c105b0b29f84c7a (patch)
treeae9a5656234fcd9a07f0c47aaa94ec4dac05340c /Tests/RunCMake/CompilerArgs/FindCCompiler.cmake
parentdb486da2655c49ac9f6d770fd7d4475aa5354b9f (diff)
downloadCMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.zip
CMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.tar.gz
CMake-f76c20da6395c0830ac0de667c105b0b29f84c7a.tar.bz2
Toolchain: Test compiler initial settings
Diffstat (limited to 'Tests/RunCMake/CompilerArgs/FindCCompiler.cmake')
-rw-r--r--Tests/RunCMake/CompilerArgs/FindCCompiler.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerArgs/FindCCompiler.cmake b/Tests/RunCMake/CompilerArgs/FindCCompiler.cmake
new file mode 100644
index 0000000..aeaaf7f
--- /dev/null
+++ b/Tests/RunCMake/CompilerArgs/FindCCompiler.cmake
@@ -0,0 +1,2 @@
+enable_language(C)
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/C_comp.cmake" "set(temp_CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")\n")