xref: /reactos/sdk/tools/xml2sdb/CMakeLists.txt (revision 50cf16b3)
1
2add_definitions(-DSDBWRITE_HOSTTOOL=1)
3
4list(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
12include_directories(
13    ${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp
14    ${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat)
15add_host_tool(xml2sdb ${SOURCE})
16
17if(NOT MSVC)
18    add_target_compile_flags(xml2sdb "-fshort-wchar")
19endif()
20