[ros-diffs] [tkreuzer] 54862: [CMAKE] add _PREFAST_ option for amd64, too

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Jan 7 16:05:25 UTC 2012


Author: tkreuzer
Date: Sat Jan  7 16:05:25 2012
New Revision: 54862

URL: http://svn.reactos.org/svn/reactos?rev=54862&view=rev
Log:
[CMAKE]
add _PREFAST_ option for amd64, too

Modified:
    trunk/reactos/cmake/config-amd64.cmake

Modified: trunk/reactos/cmake/config-amd64.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/config-amd64.cmake?rev=54862&r1=54861&r2=54862&view=diff
==============================================================================
--- trunk/reactos/cmake/config-amd64.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/config-amd64.cmake [iso-8859-1] Sat Jan  7 16:05:25 2012
@@ -41,3 +41,8 @@
 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()




More information about the Ros-diffs mailing list