[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 #${REACTOS_BINARY_DIR}/include/psdk/xmllite_i.c
11 ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c
12 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
13
14 add_library(xmllite SHARED ${SOURCE})
15
16 set_module_type(xmllite win32dll)
17
18 target_link_libraries(xmllite wine uuid)
19
20 add_importlibs(xmllite msvcrt kernel32 ntdll)
21 add_importlib_target(xmllite.spec)
22 add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)