2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-12-10 14:28:25 +00:00
|
|
|
spec2def(advpack.dll advpack.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
advpack.c
|
|
|
|
files.c
|
|
|
|
install.c
|
|
|
|
reg.c
|
2014-02-10 12:19:56 +00:00
|
|
|
advpack_private.h)
|
|
|
|
|
|
|
|
add_library(advpack SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
|
|
|
|
|
|
|
|
set_module_type(advpack win32dll)
|
|
|
|
target_link_libraries(advpack wine)
|
|
|
|
add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(advpack advpack_private.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET advpack DESTINATION reactos/system32 FOR all)
|