summaryrefslogtreecommitdiffstats
path: root/Templates/CMakeWindowsSystemConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Templates/CMakeWindowsSystemConfig.cmake')
-rw-r--r--Templates/CMakeWindowsSystemConfig.cmake8
1 files changed, 3 insertions, 5 deletions
diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake
index c7a9854..267e322 100644
--- a/Templates/CMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeWindowsSystemConfig.cmake
@@ -1,11 +1,9 @@
-#
-# CMakeLocal.make.in should be in the directory where you run configure
-# in, which need not be the source directory
-#
+# microsoft specific config file
SET (WORDS_BIGENDIAN )
SET (HAVE_LIMITS_H 1)
SET (HAVE_UNISTD_H 1)
-SET (CXX VC++60 )
+SET (CMAKE_CXX_COMPILER VC++60 CACHE STRING
+ "Name of C++ compiler used.")
SET (CMAKE_CXX_FLAGS_RELEASE "/MD /O2" CACHE STRING
"Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy /Gs will produce slightly less optimized but smaller files)")
SET (CMAKE_CXX_FLAGS_RELWITHDEBUGINFO "/MD /Zi /O2" CACHE STRING