mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
21 lines
454 B
Text
21 lines
454 B
Text
|
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||
|
add_definitions(-D__WINESRC__)
|
||
|
|
||
|
spec2def(sxs.dll sxs.spec)
|
||
|
|
||
|
list(APPEND SOURCE
|
||
|
sxs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
|
||
|
|
||
|
add_library(sxs SHARED ${SOURCE})
|
||
|
set_entrypoint(sxs 0)
|
||
|
|
||
|
target_link_libraries(sxs wine)
|
||
|
|
||
|
add_importlibs(sxs kernel32 ntdll)
|
||
|
add_dependencies(sxs psdk)
|
||
|
|
||
|
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
|