mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
![Serge Gautherie](/assets/img/avatar_default.png)
Documented as automatically removed, since CMake 3.12.4 at least. https://cmake.org/cmake/help/v3.12/command/target_compile_definitions.html
18 lines
423 B
CMake
18 lines
423 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 MKHIVE_HOST)
|
|
if(NOT MSVC)
|
|
target_compile_options(mkhive PRIVATE "-fshort-wchar")
|
|
endif()
|
|
|
|
target_link_libraries(mkhive PRIVATE host_includes unicode cmlibhost inflibhost)
|