2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2012-05-19 14:52:48 +00:00
|
|
|
spec2def(sxs.dll sxs.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2012-02-06 18:48:50 +00:00
|
|
|
cache.c
|
2012-05-19 14:52:48 +00:00
|
|
|
name.c
|
2011-05-16 13:12:07 +00:00
|
|
|
sxs.c
|
2018-03-23 11:30:21 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
|
|
|
|
|
|
|
|
add_library(sxs SHARED
|
|
|
|
${SOURCE}
|
2014-01-25 19:01:00 +00:00
|
|
|
guid.c
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(sxs win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(sxs wine)
|
2013-09-28 15:05:24 +00:00
|
|
|
add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
|
2018-03-23 11:30:21 +00:00
|
|
|
add_pch(sxs precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
|