summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCXXCompiler.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/CMakeDetermineCXXCompiler.cmake
parentc1c74f925cf249e260ea94532205dc954852d7cd (diff)
downloadCMake-b1114a344fcda35984140e0bc538d32035d5310a.zip
CMake-b1114a344fcda35984140e0bc538d32035d5310a.tar.gz
CMake-b1114a344fcda35984140e0bc538d32035d5310a.tar.bz2
new cmake based configuration
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineCXXCompiler.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake
new file mode 100644
index 0000000..72ee90a
--- /dev/null
+++ b/Modules/CMakeDetermineCXXCompiler.cmake
@@ -0,0 +1,5 @@
+# determine the compiler to use for C++ programs
+# NOTE, a generator may set CMAKE_CXX_COMPILER before
+# loading this file to force a compiler.
+
+FIND_PROGRAM(CMAKE_CXX_COMPILER NAMES $ENV{CXX} c++ g++ CC aCC cl bcc PATHS /bin /usr/bin /usr/local/bin )