2011-05-16 13:12:07 +00:00
|
|
|
|
2012-01-23 15:12:50 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-DHAVE_ZLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-01-23 15:12:50 +00:00
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(cabinet.dll cabinet.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cabinet_main.c
|
|
|
|
fci.c
|
|
|
|
fdi.c
|
2018-03-09 11:48:26 +00:00
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(cabinet MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
stubs.c
|
|
|
|
cabinet.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
|
|
|
|
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(cabinet win32dll)
|
2012-01-23 15:12:50 +00:00
|
|
|
target_link_libraries(cabinet wine zlib)
|
|
|
|
add_importlibs(cabinet msvcrt kernel32 ntdll)
|
2018-03-09 11:48:26 +00:00
|
|
|
add_pch(cabinet precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
|