mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
17 lines
420 B
CMake
17 lines
420 B
CMake
|
|
add_definitions(-DSDBWRITE_HOSTTOOL=1)
|
|
|
|
list(APPEND SOURCE
|
|
main.cpp
|
|
tinyxml2.cpp
|
|
xml2sdb.cpp
|
|
xml2sdb.h
|
|
${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbwrite.c
|
|
${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp/sdbstringtable.c)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/dll/appcompat/apphelp)
|
|
add_host_tool(xml2sdb ${SOURCE})
|
|
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(xml2sdb "-fshort-wchar")
|
|
endif()
|