2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(sxs.dll sxs.spec ADD_IMPORTLIB)
11 ${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
13 add_library(sxs SHARED
16 ${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
18 set_module_type(sxs win32dll)
19 target_link_libraries(sxs wine)
20 add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
21 add_pch(sxs precomp.h SOURCE)
22 add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)