summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-MSVC-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-23 16:00:55 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-30 13:42:49 (GMT)
commitf3ddfef137f56c9660a7ad65807387987bcb2996 (patch)
tree6fa2583f8de4f0c3f36145a9637c05fb60266866 /Modules/Platform/Windows-MSVC-CXX.cmake
parent485a940e4c2b07f08e70b6e04733feb724bb6f3f (diff)
downloadCMake-f3ddfef137f56c9660a7ad65807387987bcb2996.zip
CMake-f3ddfef137f56c9660a7ad65807387987bcb2996.tar.gz
CMake-f3ddfef137f56c9660a7ad65807387987bcb2996.tar.bz2
Modernize MSVC compiler information files
Remove the old-style "Windows-cl.cmake" and its helper "cl.cmake". Load the information through new-style "Platform/Windows-MSVC-<lang>.cmake" files. Factor information common to C and CXX into a helper file "Platform/Windows-MSVC.cmake" loaded from the per-language files.
Diffstat (limited to 'Modules/Platform/Windows-MSVC-CXX.cmake')
-rw-r--r--Modules/Platform/Windows-MSVC-CXX.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-MSVC-CXX.cmake b/Modules/Platform/Windows-MSVC-CXX.cmake
new file mode 100644
index 0000000..fdd1dae
--- /dev/null
+++ b/Modules/Platform/Windows-MSVC-CXX.cmake
@@ -0,0 +1,3 @@
+include(Platform/Windows-MSVC)
+set(_COMPILE_CXX " /TP")
+__windows_compiler_msvc(CXX)