mirror of
https://github.com/reactos/reactos.git
synced 2024-10-20 08:01:05 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
25 lines
584 B
CMake
25 lines
584 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(cabinet.dll cabinet.spec)
|
|
|
|
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 ENTRYPOINT 0)
|
|
target_link_libraries(cabinet wine)
|
|
add_importlibs(cabinet kernel32 ntdll)
|
|
add_importlib_target(cabinet.spec)
|
|
add_pch(cabinet cabinet.h)
|
|
add_dependencies(cabinet psdk)
|
|
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
|