[CMAKE]
[reactos.git] / dll / win32 / sxs / CMakeLists.txt
1
2
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 add_definitions(-D__WINESRC__)
7
8 spec2def(sxs ${CMAKE_CURRENT_SOURCE_DIR}/sxs.spec ${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
9
10 add_library(sxs SHARED sxs.c)
11
12 set_target_properties(sxs PROPERTIES LINK_FLAGS "-Wl,-entry,0")
13
14 target_link_libraries(sxs
15 ${CMAKE_CURRENT_BINARY_DIR}/sxs.def
16 wine
17 mingw_common)
18
19 add_dependencies(sxs sxs_def psdk)