[APPCOMPAT] Move sdbtagid.h and sdbtypes.h to a shared location
[reactos.git] / sdk / tools / xml2sdb / CMakeLists.txt
1
2 add_definitions(-DSDBWRITE_HOSTTOOL=1)
3
4 list(APPEND SOURCE
5 main.cpp
6 tinyxml2.cpp
7 xml2sdb.cpp
8 xml2sdb.h
9 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbwrite.c
10 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbstringtable.c)
11
12 include_directories(
13 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp
14 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat)
15 add_host_tool(xml2sdb ${SOURCE})
16
17 if(NOT MSVC)
18 add_target_compile_flags(xml2sdb "-fshort-wchar")
19 endif()