34fb75804973905cffbb488544f3d6040fb41882
[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.def)
10
11 add_library(sxs SHARED ${SOURCE})
12 set_entrypoint(sxs 0)
13
14 target_link_libraries(sxs wine)
15
16 add_importlibs(sxs kernel32 ntdll)
17 add_dependencies(sxs psdk)
18
19 add_cab_target(sxs 1)