[CMAKE]
[reactos.git] / 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)
6
7 list(APPEND SOURCE
8 reader.c
9 xmllite_main.c
10 ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
12
13 add_library(xmllite SHARED ${SOURCE})
14
15 set_module_type(xmllite win32dll)
16
17 target_link_libraries(xmllite wine)
18
19 add_importlibs(xmllite msvcrt kernel32 ntdll)
20 add_importlib_target(xmllite.spec)
21 add_cab_target(xmllite 1)