[ADVPACK]: Sync with Wine 1.5.19.
[reactos.git] / reactos / 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 ADD_IMPORTLIB)
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 allow_warnings(advpack)
17 set_module_type(advpack win32dll)
18 target_link_libraries(advpack wine)
19 add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
20 add_cd_file(TARGET advpack DESTINATION reactos/system32 FOR all)