2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
binhive.c
|
|
|
|
cmi.c
|
|
|
|
mkhive.c
|
|
|
|
reginf.c
|
|
|
|
registry.c
|
|
|
|
rtl.c)
|
|
|
|
|
2015-09-06 16:44:30 +00:00
|
|
|
add_host_tool(mkhive ${SOURCE})
|
2019-11-15 13:07:46 +00:00
|
|
|
target_include_directories(mkhive PRIVATE ${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
|
|
|
|
target_compile_definitions(mkhive PRIVATE -DMKHIVE_HOST)
|
2016-10-04 12:37:52 +00:00
|
|
|
if(NOT MSVC)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(mkhive PRIVATE "-fshort-wchar")
|
2016-10-04 12:37:52 +00:00
|
|
|
endif()
|
|
|
|
|
2019-11-15 13:07:46 +00:00
|
|
|
target_link_libraries(mkhive PRIVATE host_includes unicode cmlibhost inflibhost)
|