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.")
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()