xref: /reactos/sdk/tools/mkhive/CMakeLists.txt (revision 682f85ad)
1
2list(APPEND SOURCE
3    binhive.c
4    cmi.c
5    mkhive.c
6    reginf.c
7    registry.c
8    rtl.c)
9
10add_host_tool(mkhive ${SOURCE})
11target_include_directories(mkhive PRIVATE ${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
12target_compile_definitions(mkhive PRIVATE -DMKHIVE_HOST)
13if(NOT MSVC)
14    target_compile_options(mkhive PRIVATE "-fshort-wchar")
15endif()
16
17target_link_libraries(mkhive PRIVATE host_includes unicode cmlibhost inflibhost)
18