|
|
@@ -42,24 +42,12 @@ SET (CMAKE_BUILD_TYPE Debug CACHE STRING
|
|
|
|
|
|
SET(CMAKE_CREATE_WIN32_EXE /subsystem:windows)
|
|
|
|
|
|
-SET (CMAKE_CXX_FLAGS "/nologo /W3 /Zm1000 /GX /GR" CACHE STRING
|
|
|
- "Flags used by the compiler during all build types, /GX /GR are for exceptions and rtti in VC++, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib.")
|
|
|
-
|
|
|
-SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ" CACHE STRING
|
|
|
- "Flags used by the compiler during debug builds.")
|
|
|
-
|
|
|
-SET (CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1" CACHE STRING
|
|
|
- "Flags used by the compiler during release minsize builds.")
|
|
|
-
|
|
|
-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_RELWITHDEBINFO "/MD /Zi /O2" CACHE STRING
|
|
|
- "Flags used by the compiler during Release with Debug Info builds.")
|
|
|
-
|
|
|
-
|
|
|
-SET (CMAKE_C_FLAGS "/nologo /W3 /Zm1000" CACHE STRING
|
|
|
- "Flags for C compiler.")
|
|
|
+SET (CMAKE_CXX_FLAGS "/nologo /W3 /Zm1000 /GX /GR")
|
|
|
+SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ")
|
|
|
+SET (CMAKE_CXX_FLAGS_MINSIZEREL "/MD /O1")
|
|
|
+SET (CMAKE_CXX_FLAGS_RELEASE "/MD /O2")
|
|
|
+SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MD /Zi /O2")
|
|
|
+SET (CMAKE_C_FLAGS "/nologo /W3 /Zm1000")
|
|
|
|
|
|
SET (CMAKE_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib" CACHE STRING
|
|
|
"Libraries linked by defalut with all applications.")
|