2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(xmllite.dll xmllite.spec ADD_IMPORTLIB)
11 ${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c)
13 add_library(xmllite MODULE
16 ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
19 # Disable warning C4146: unary minus operator applied to unsigned type, result still unsigned
20 target_compile_options(xmllite PRIVATE /wd4146)
23 set_module_type(xmllite win32dll)
24 target_link_libraries(xmllite uuid wine)
25 add_importlibs(xmllite msvcrt kernel32 ntdll)
26 add_pch(xmllite precomp.h SOURCE)
27 add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)