[CMAKE]
[reactos.git] / dll / win32 / advpack / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 list(APPEND SOURCE
7 advpack.c
8 files.c
9 install.c
10 reg.c)
11
12 spec2def(advpack ${CMAKE_CURRENT_SOURCE_DIR}/advpack.spec ${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
13
14 add_library(advpack SHARED ${SOURCE})
15
16 set_module_type(advpack win32dll)
17
18 target_link_libraries(advpack
19 ${CMAKE_CURRENT_BINARY_DIR}/advpack.def
20 wine)
21
22 add_importlibs(advpack ole32 setupapi version advapi32 kernel32 ntdll)
23 add_dependencies(advpack advpack_def)
24 add_cab_target(advpack 1)