mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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)
|