mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
493ceb7ade
Dynamically check for sys/types.h and pid_t in wine config.h Use TARGET_xxx defines instead of _X86_ as this is undefined by GCC Add some sense in include directories management by using interface libraries
18 lines
419 B
CMake
18 lines
419 B
CMake
|
|
list(APPEND SOURCE
|
|
binhive.c
|
|
cmi.c
|
|
mkhive.c
|
|
reginf.c
|
|
registry.c
|
|
rtl.c)
|
|
|
|
add_host_tool(mkhive ${SOURCE})
|
|
target_include_directories(mkhive PRIVATE ${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
|
target_compile_definitions(mkhive PRIVATE -DMKHIVE_HOST)
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(mkhive "-fshort-wchar")
|
|
endif()
|
|
|
|
target_link_libraries(mkhive PRIVATE host_includes unicode cmlibhost inflibhost)
|