9ead0659a49a07d37c0bd1b94d73073a8da24679
[reactos.git] / reactos / dll / win32 / xmllite / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(xmllite.dll xmllite.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 reader.c
9 writer.c
10 xmllite_main.c
11 #${REACTOS_BINARY_DIR}/include/psdk/xmllite_i.c
12 ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
14
15 add_library(xmllite SHARED ${SOURCE})
16
17 set_module_type(xmllite win32dll)
18
19 target_link_libraries(xmllite wine uuid)
20
21 add_importlibs(xmllite msvcrt kernel32 ntdll)
22
23 add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)