summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCCompiler.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-10-22 14:34:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-10-22 14:34:07 (GMT)
commitb1114a344fcda35984140e0bc538d32035d5310a (patch)
tree41073546fd534d065a2e3499d6f39374088fbde1 /Modules/CMakeDetermineCCompiler.cmake
parentc1c74f925cf249e260ea94532205dc954852d7cd (diff)
downloadCMake-b1114a344fcda35984140e0bc538d32035d5310a.zip
CMake-b1114a344fcda35984140e0bc538d32035d5310a.tar.gz
CMake-b1114a344fcda35984140e0bc538d32035d5310a.tar.bz2
new cmake based configuration
Diffstat (limited to 'Modules/CMakeDetermineCCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCCompiler.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCCompiler.cmake b/Modules/CMakeDetermineCCompiler.cmake
new file mode 100644
index 0000000..100412a
--- /dev/null
+++ b/Modules/CMakeDetermineCCompiler.cmake
@@ -0,0 +1,5 @@
+# determine the compiler to use for C programs
+# NOTE, a generator may set CMAKE_C_COMPILER before
+# loading this file to force a compiler.
+
+FIND_PROGRAM(CMAKE_C_COMPILER NAMES $ENV{CC} gcc cc cl bcc PATHS /bin /usr/bin /usr/local/bin )