ccb95c3c24724263b83e3dfa1df1e3444dfe154c
[reactos.git] / lib / rtl / CMakeLists.txt
1
2 include_directories(.)
3
4 add_definitions(-D_NTOSKRNL_)
5 add_definitions(-DNO_RTL_INLINES)
6 add_definitions(-D_NTSYSTEM_)
7 add_definitions(-D_NTDLLBUILD_)
8
9 file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.S)
10 file(GLOB SOURCE "*.c")
11
12 list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/avlsupp.c
13 ${CMAKE_CURRENT_SOURCE_DIR}/mem.c
14 ${CMAKE_CURRENT_SOURCE_DIR}/memgen.c)
15
16 add_library(rtl ${ARCH_SOURCE} ${SOURCE})
17 add_dependencies(rtl psdk)
18