[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 spec2def(advpack.dll advpack.spec)
7
8 list(APPEND SOURCE
9 advpack.c
10 files.c
11 install.c
12 reg.c
13 ${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
14
15 add_library(advpack SHARED ${SOURCE})
16
17 set_module_type(advpack win32dll)
18
19 target_link_libraries(advpack wine)
20
21 add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
22 add_cd_file(TARGET advpack DESTINATION reactos/system32 FOR all)