3b6783ddb952561990fe28139b6a9cca33695140
[reactos.git] / dll / win32 / updspapi / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(updspapi.dll updspapi.spec)
6
7 list(APPEND SOURCE
8 main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/updspapi.def)
10
11 add_library(updspapi SHARED ${SOURCE})
12 set_entrypoint(updspapi 0)
13
14 target_link_libraries(updspapi wine)
15
16 add_importlibs(updspapi setupapi kernel32 ntdll)
17 add_dependencies(updspapi psdk buildno_header)
18
19 add_cab_target(updspapi 1)