[HOST_TOOLS]
[reactos.git] / reactos / 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 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbwrite.c
9 ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbstringtable.c)
10
11 include_directories(${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp)
12 add_host_tool(xml2sdb ${SOURCE})
13
14 if(MSVC)
15 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS " /EHsc")
16 else()
17 add_target_compile_flags(xml2sdb "-fshort-wchar")
18 endif()