769d68229481bf6018f07eb5bcf2ab97d25815ce
[reactos.git] / dll / win32 / cabinet / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(cabinet.dll cabinet.spec)
7
8 list(APPEND SOURCE
9 cabinet_main.c
10 fci.c
11 fdi.c
12 stubs.c
13 cabinet.rc
14 ${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
15
16 add_library(cabinet SHARED ${SOURCE})
17
18 set_entrypoint(cabinet 0)
19
20 target_link_libraries(cabinet wine)
21
22 add_importlibs(cabinet kernel32 ntdll)
23 add_importlib_target(cabinet.spec)
24
25 add_dependencies(cabinet psdk)
26 add_cab_target(cabinet 1)