mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
7e069ccdb2
add_target_compile_definitions -> target_compile_definitions add_target_compile_flags -> target_compile_options add_target_include_directories -> target_include_directories
18 lines
425 B
CMake
18 lines
425 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)
|
|
target_compile_options(mkhive PRIVATE "-fshort-wchar")
|
|
endif()
|
|
|
|
target_link_libraries(mkhive PRIVATE host_includes unicode cmlibhost inflibhost)
|