2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/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}
|
2016-07-22 14:15:09 +00:00
|
|
|
advpack.rc
|
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)
|