Author: sir_richard
Date: Tue Aug 3 21:39:17 2010
New Revision: 48440
URL:
http://svn.reactos.org/svn/reactos?rev=48440&view=rev
Log:
[CMAKE]: NTDLL WIP.
Modified:
branches/cmake-bringup/dll/ntdll/CMakeLists.txt
Modified: branches/cmake-bringup/dll/ntdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/ntdll/CMakeLi…
==============================================================================
--- branches/cmake-bringup/dll/ntdll/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/ntdll/CMakeLists.txt [iso-8859-1] Tue Aug 3 21:39:17 2010
@@ -1,6 +1,11 @@
add_definitions(-D__NTDLL__)
add_definitions(-D_NTOSKRNL_)
add_definitions(-DCRTDLL)
+
+SET(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE 1)
+
+include_directories(BEFORE ./include)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
file(GLOB_RECURSE SOURCE *.c)
list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/ldr/elf.c
${CMAKE_CURRENT_SOURCE_DIR}/dispatch/dispatch.c)
@@ -10,5 +15,5 @@
add_library(ntdll SHARED ${ARCH_SOURCE} ${SOURCE})
-target_link_libraries(ntdll rtl ntdllsys libcntpr pseh debugsup_ntdll)
+target_link_libraries(ntdll rtl ntdllsys libcntpr pseh)
add_dependencies(ntdll ntstatus version)