971ac832f5f151b6ee491264634cba9c7d876be0
[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 ${CMAKE_CURRENT_SOURCE_DIR}/xmllite.spec ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
6
7 add_library(xmllite SHARED reader.c xmllite_main.c)
8
9 set_module_type(xmllite win32dll)
10
11 target_link_libraries(xmllite
12 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def
13 wine)
14
15 add_importlibs(xmllite kernel32 ntdll)
16
17 add_dependencies(xmllite xmllite_def)