[WIN32K]
[reactos.git] / reactos / cmake / config-amd64.cmake
index d4d5a44..e751678 100644 (file)
@@ -7,13 +7,18 @@ set(OARCH "athlon64" CACHE STRING
  k8 opteron athlon64 athlon-fx")
 
 set (OPTIMIZE "1" CACHE STRING
-"What level of optimisation to use.
-  0 = off
-  1 = Default option, optimize for size (-Os) with some additional options
-  2 = -Os
-  3 = -O1
-  4 = -O2
-  5 = -O3")
+"What level of optimization to use.
+ 0 = off
+ 1 = Default option, optimize for size (-Os) with some additional options
+ 2 = Optimize for size (-Os)
+ 3 = Optimize debugging experience (-Og)
+ 4 = Optimize (-O1)
+ 5 = Optimize even more (-O2)
+ 6 = Optimize yet more (-O3)
+ 7 = Disregard strict standards compliance (-Ofast)")
+
+set(LTCG FALSE CACHE BOOL
+"Whether to build with link-time code generation")
 
 set(DBG TRUE CACHE BOOL
 "Whether to compile for debugging.")
@@ -23,7 +28,7 @@ set(KDBG FALSE CACHE BOOL
 
 set(GDB FALSE CACHE BOOL
 "Whether to compile for debugging with GDB.
-If you don't use GDB, don't    enable this.")
+If you don't use GDB, don't enable this.")
 
 set(_WINKD_ TRUE CACHE BOOL
 "Whether to compile with the KD protocol.")
@@ -41,3 +46,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()