[XMLLITE] Sync with Wine Staging 3.3. CORE-14434
[reactos.git] / dll / win32 / xmllite / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(xmllite.dll xmllite.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 reader.c
8 writer.c
9 xmllite_main.c
10 precomp.h
11 ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c)
12
13 add_library(xmllite SHARED
14 ${SOURCE}
15 guid.c
16 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
17
18 set_module_type(xmllite win32dll)
19 target_link_libraries(xmllite uuid wine)
20 add_importlibs(xmllite msvcrt kernel32 ntdll)
21 add_pch(xmllite precomp.h SOURCE)
22 add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)