mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 10:07:17 +00:00
7c99b62e1f
- Move generated precompiled headers to binary folders. - Enable auto image base for ntdll. - Update the location of generated PCH files for rtl, ntdll and crt. svn path=/branches/cmake-bringup/; revision=48459
18 lines
616 B
CMake
18 lines
616 B
CMake
|
|
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} ${CMAKE_CURRENT_BINARY_DIR}/rtl_rtl.h.gch)
|
|
add_pch(rtl ${CMAKE_CURRENT_SOURCE_DIR}/rtl.h ${SOURCE})
|
|
add_dependencies(rtl psdk)
|
|
|