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