فهرست منبع

ENH: add -tWM to default flags for compilation

Bill Hoffman 24 سال پیش
والد
کامیت
06ac353564
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Templates/CMakeBorlandWindowsSystemConfig.cmake

+ 1 - 1
Templates/CMakeBorlandWindowsSystemConfig.cmake

@@ -54,7 +54,7 @@ SET (CMAKE_LINKER_FLAGS_RELEASE "" CACHE STRING
 SET (CMAKE_LINKER_FLAGS_RELWITHDEBINFO "-v" CACHE STRING
      "Flags used by the linker during Release with Debug Info builds.")
 
-SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar" CACHE STRING
+SET (CMAKE_CXX_FLAGS "-w- -whid -waus -wpar -tWM" 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_USE_WIN32_THREADS 1 CACHE BOOL