mirror of
https://github.com/reactos/reactos.git
synced 2024-11-06 14:44:19 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
28 lines
641 B
CMake
28 lines
641 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-DHAVE_ZLIB)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
|
|
|
spec2def(cabinet.dll cabinet.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
cabinet_main.c
|
|
fci.c
|
|
fdi.c
|
|
stubs.c
|
|
cabinet.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
|
|
|
|
add_library(cabinet SHARED ${SOURCE})
|
|
|
|
set_module_type(cabinet win32dll)
|
|
target_link_libraries(cabinet wine zlib)
|
|
add_importlibs(cabinet msvcrt kernel32 ntdll)
|
|
|
|
add_pch(cabinet cabinet.h)
|
|
add_dependencies(cabinet psdk)
|
|
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
|