Author: akhaldi
Date: Sun Jul 25 11:04:47 2010
New Revision: 48245
URL:
http://svn.reactos.org/svn/reactos?rev=48245&view=rev
Log:
[CMAKE]
- Mark buildno.h as generated.
- Add it to wpp dependencies.
- Parallel build works now.
Modified:
branches/cmake-bringup/tools/winebuild/CMakeLists.txt
branches/cmake-bringup/tools/wpp/CMakeLists.txt
Modified: branches/cmake-bringup/tools/winebuild/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/winebuild/C…
==============================================================================
--- branches/cmake-bringup/tools/winebuild/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/winebuild/CMakeLists.txt [iso-8859-1] Sun Jul 25 11:04:47
2010
@@ -3,4 +3,6 @@
add_executable(winebuild ${SOURCE} ${REACTOS_SOURCE_DIR}/include/reactos/buildno.h)
+SET_SOURCE_FILES_PROPERTIES(${REACTOS_SOURCE_DIR}/include/reactos/buildno.h PROPERTIES
GENERATED 1)
+
ADD_DEPENDENCIES(winebuild build_header)
Modified: branches/cmake-bringup/tools/wpp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/tools/wpp/CMakeLi…
==============================================================================
--- branches/cmake-bringup/tools/wpp/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/tools/wpp/CMakeLists.txt [iso-8859-1] Sun Jul 25 11:04:47 2010
@@ -1,4 +1,8 @@
file(GLOB_RECURSE SOURCE "*.c")
+SET_SOURCE_FILES_PROPERTIES(${REACTOS_SOURCE_DIR}/include/reactos/buildno.h PROPERTIES
GENERATED 1)
+
add_library(wpp ${SOURCE})
+
+ADD_DEPENDENCIES(wpp build_header)