mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:23:01 +00:00
[CMAKE]
- 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
This commit is contained in:
parent
fc5ac84ba5
commit
7c99b62e1f
4 changed files with 36 additions and 32 deletions
|
@ -1,4 +1,5 @@
|
|||
include_directories(./include)
|
||||
|
||||
include_directories(include)
|
||||
|
||||
add_definitions(-D_CRTBLD)
|
||||
|
||||
|
@ -6,7 +7,7 @@ file(GLOB_RECURSE CRT_SOURCE "*.c")
|
|||
LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/stdio/findgen.c)
|
||||
LIST(REMOVE_ITEM CRT_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/string/strtold.c)
|
||||
|
||||
add_library(crt ${CRT_SOURCE} ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h.gch)
|
||||
add_library(crt ${CRT_SOURCE} ${CMAKE_CURRENT_BINARY_DIR}/crt_precomp.h.gch)
|
||||
set_property(TARGET crt PROPERTY COMPILE_DEFINITIONS __MINGW_IMPORT=extern USE_MSVCRT_PREFIX _MSVCRT_LIB_ _MSVCRT_ _MT)
|
||||
add_pch(crt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${CRT_SOURCE})
|
||||
add_dependencies(crt psdk)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue