reactos/lib/rtl/CMakeLists.txt
Sir Richard 0436f84653 [CMAKE]: Simplify makefiles.
svn path=/branches/cmake-bringup/; revision=48428
2010-08-03 14:54:19 +00:00

18 lines
541 B
CMake

include_directories(.)
add_definitions(-D_NTOSKRNL_)
add_definitions(-DNO_RTL_INLINES)
add_definitions(-D_NTSYSTEM_)
add_definitions(-D_NTDLLBUILD_)
file(GLOB_RECURSE ARCH_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.c ${CMAKE_CURRENT_SOURCE_DIR}/${ARCH}/*.S)
file(GLOB SOURCE "*.c")
list(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/avlsupp.c
${CMAKE_CURRENT_SOURCE_DIR}/mem.c
${CMAKE_CURRENT_SOURCE_DIR}/memgen.c)
add_library(rtl ${ARCH_SOURCE} ${SOURCE})
add_dependencies(rtl psdk)