reactos/dll/win32/cabinet/CMakeLists.txt
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- 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
2012-01-20 20:58:46 +00:00

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)