summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-04-30 21:05:32 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-04-30 21:05:32 (GMT)
commit412c0f4a61bfc58ac3c8cc8281d9cc38a127f27d (patch)
treeefc50e7a726835435906e47bd8d7134badbad6dd /Modules/CMakeDetermineCompilerId.cmake
parent8f7b0291d8e75d51b5f6dc336710660c454aa6b3 (diff)
downloadCMake-412c0f4a61bfc58ac3c8cc8281d9cc38a127f27d.zip
CMake-412c0f4a61bfc58ac3c8cc8281d9cc38a127f27d.tar.gz
CMake-412c0f4a61bfc58ac3c8cc8281d9cc38a127f27d.tar.bz2
STYLE: comment which says which variables this macro sets
Alex
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index a7fe44c..5b7d933 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -1,6 +1,8 @@
# Macro to compile a source file to identify the compiler. This is
# used internally by CMake and should not be included by user code.
+# If successful, sets CMAKE_<lang>_COMPILER_ID and CMAKE_<lang>_PLATFORM_ID
+
MACRO(CMAKE_DETERMINE_COMPILER_ID lang src)
# Store the compiler identification source file.
SET(CMAKE_${lang}_COMPILER_ID_SRC "${src}")