xref: /reactos/sdk/tools/mkhive/CMakeLists.txt (revision c2c66aff)
1
2add_definitions(-DMKHIVE_HOST)
3
4include_directories(
5    ${REACTOS_SOURCE_DIR}/sdk/lib/inflib
6    ${REACTOS_SOURCE_DIR}/sdk/lib/cmlib
7    ${REACTOS_SOURCE_DIR}/sdk/lib/rtl)
8
9list(APPEND SOURCE
10    binhive.c
11    cmi.c
12    mkhive.c
13    reginf.c
14    registry.c
15    rtl.c)
16
17add_host_tool(mkhive ${SOURCE})
18
19if(NOT MSVC)
20    add_target_compile_flags(mkhive "-fshort-wchar")
21endif()
22
23target_link_libraries(mkhive unicode cmlibhost inflibhost)
24