Author: akhaldi
Date: Fri Dec 24 18:04:31 2010
New Revision: 50129
URL:
http://svn.reactos.org/svn/reactos?rev=50129&view=rev
Log:
[CMAKE]
- Add new-cc activation flag. Dedicated to arty.
Modified:
branches/cmake-bringup/ntoskrnl/CMakeLists.txt
Modified: branches/cmake-bringup/ntoskrnl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/ntoskrnl/CMakeLis…
==============================================================================
--- branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/ntoskrnl/CMakeLists.txt [iso-8859-1] Fri Dec 24 18:04:31 2010
@@ -18,13 +18,35 @@
set_rc_compiler()
+set(NEWCC FALSE)
+
+if(NEWCC)
+add_definitions(-DNEWCC)
+list(APPEND SOURCE
+ cache/cachesub.c
+ cache/copysup.c
+ cache/fssup.c
+ cache/lazyrite.c
+ cache/logsup.c
+ cache/mdlsup.c
+ cache/pinsup.c
+ cache/section/data.c
+ cache/section/fault.c
+ cache/section/io.c
+ cache/section/reqtools.c
+ cache/section/sptab.c
+ cache/section/swapout.c)
+else()
list(APPEND SOURCE
cc/cacheman.c
cc/copy.c
cc/fs.c
cc/mdl.c
cc/pin.c
- cc/view.c
+ cc/view.c)
+endif()
+
+list(APPEND SOURCE
config/cmalloc.c
config/cmapi.c
config/cmboot.c