2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(xmllite.dll xmllite.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
reader.c
|
2012-03-19 15:17:34 +00:00
|
|
|
writer.c
|
2011-05-16 13:12:07 +00:00
|
|
|
xmllite_main.c
|
2018-03-25 11:44:23 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/xmllite_stubs.c)
|
|
|
|
|
|
|
|
add_library(xmllite SHARED
|
|
|
|
${SOURCE}
|
2014-01-01 22:20:28 +00:00
|
|
|
guid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
|
|
|
|
|
|
|
|
set_module_type(xmllite win32dll)
|
2014-01-01 22:20:28 +00:00
|
|
|
target_link_libraries(xmllite uuid wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(xmllite msvcrt kernel32 ntdll)
|
2018-03-25 11:44:23 +00:00
|
|
|
add_pch(xmllite precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET xmllite DESTINATION reactos/system32 FOR all)
|