[CMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Tue, 10 May 2011 13:15:51 +0000 (13:15 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Tue, 10 May 2011 13:15:51 +0000 (13:15 +0000)
Dereference non existing targets :
buildno_header, kernel_zw, kernel_napi, subsystem_napi

Spotted by msbuild.

svn path=/branches/cmake-bringup/; revision=51664

gcc.cmake
msc.cmake
ntoskrnl/CMakeLists.txt
subsystems/win32/win32k/CMakeLists.txt

index 2c1e237..8efa19f 100644 (file)
--- a/gcc.cmake
+++ b/gcc.cmake
@@ -170,7 +170,7 @@ endmacro()
 
 macro(set_module_type MODULE TYPE)
 
-    add_dependencies(${MODULE} psdk buildno_header)
+    add_dependencies(${MODULE} psdk)
     if(${IS_CPP})
         target_link_libraries(${MODULE} stlport -lsupc++ -lgcc)
     endif()
index a09efaf..baf8f5d 100644 (file)
--- a/msc.cmake
+++ b/msc.cmake
@@ -66,7 +66,7 @@ macro(set_image_base MODULE IMAGE_BASE)
 endmacro()\r
 \r
 macro(set_module_type MODULE TYPE)\r
-    add_dependencies(${MODULE} psdk buildno_header)\r
+    add_dependencies(${MODULE} psdk)\r
     if(${TYPE} MATCHES nativecui)\r
         set_subsystem(${MODULE} native)\r
         set_entrypoint(${MODULE} NtProcessStartup@4)\r
index b2e740c..6053b38 100644 (file)
@@ -446,7 +446,7 @@ target_link_libraries(ntoskrnl
 add_importlibs(ntoskrnl hal kdcom bootvid)
 
 add_pch(ntoskrnl ${CMAKE_CURRENT_SOURCE_DIR}/include/ntoskrnl.h ${SOURCE})
-add_dependencies(ntoskrnl psdk bugcodes kernel_zw kernel_napi asm)
+add_dependencies(ntoskrnl psdk bugcodes asm)
 
 add_minicd_target(ntoskrnl reactos ntoskrnl.exe)
 add_livecd_target(ntoskrnl reactos/system32)
index df4c300..78df46e 100644 (file)
@@ -195,7 +195,7 @@ target_link_libraries(win32k
 
 add_importlibs(win32k ntoskrnl hal ftfd)
 add_pch(win32k ${CMAKE_CURRENT_SOURCE_DIR}/pch.h ${SOURCE})
-add_dependencies(win32k gendib_generated subsystem_napi)
+add_dependencies(win32k gendib_generated)
 add_cab_target(win32k 1)
 add_importlib_target(win32k.spec)