[CMAKE]
[reactos.git] / dll / win32 / sxs / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(sxs.dll sxs.spec)
6
7 list(APPEND SOURCE
8 sxs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
11
12 add_library(sxs SHARED ${SOURCE})
13 set_entrypoint(sxs 0)
14
15 target_link_libraries(sxs wine)
16
17 add_importlibs(sxs kernel32 ntdll)
18 add_dependencies(sxs psdk)
19
20 add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)