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