From 9e90eaa575bcf578c4a19e069d9324906c439993 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 3 Aug 2010 21:39:17 +0000 Subject: [PATCH] [CMAKE]: NTDLL WIP. svn path=/branches/cmake-bringup/; revision=48440 --- dll/ntdll/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dll/ntdll/CMakeLists.txt b/dll/ntdll/CMakeLists.txt index b474d46f2b1..8743951af0a 100644 --- a/dll/ntdll/CMakeLists.txt +++ b/dll/ntdll/CMakeLists.txt @@ -2,6 +2,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) list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/dispatch/amd64/stubs.c) @@ -10,5 +15,5 @@ file(GLOB_RECURSE ARCH_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/dispatch/${ARCH}/*.c" 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) \ No newline at end of file -- 2.17.1