Sync with trunk revision r58045 to bring the corrections on configure.cmd and on...
[reactos.git] / cmake / config-amd64.cmake
index d4d5a44..c84262f 100644 (file)
@@ -15,6 +15,9 @@ set (OPTIMIZE "1" CACHE STRING
   4 = -O2
   5 = -O3")
 
+set(LTCG FALSE CACHE BOOL
+"Whether to build with link-time code generation")
+
 set(DBG TRUE CACHE BOOL
 "Whether to compile for debugging.")
 
@@ -41,3 +44,8 @@ This settings is disabled (0) by default.")
 set(USERMODE TRUE CACHE BOOL
 "Whether to compile any usermode parts. This is while kernel mode is under
  heavy development and usermode part not relevant for bootcd.")
+
+if(MSVC)
+set(_PREFAST_ FALSE CACHE BOOL
+"Whether to enable PREFAST while compiling.")
+endif()