6d1293e0596296809de0d46b38bfaa8414f62a16
[reactos.git] / dll / win32 / hhctrl.ocx / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(hhctrl ${CMAKE_CURRENT_SOURCE_DIR}/hhctrl.ocx.spec ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
6
7 add_library(hhctrl SHARED
8 chm.c
9 content.c
10 help.c
11 hhctrl.c
12 index.c
13 regsvr.c
14 search.c
15 stream.c
16 webbrowser.c
17 hhctrl.rc)
18
19 set_module_type(hhctrl win32ocx)
20
21 target_link_libraries(hhctrl
22 ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def
23 uuid
24 wine)
25
26 add_importlibs(hhctrl
27 advapi32
28 comctl32
29 shlwapi
30 ole32
31 oleaut32
32 user32
33 gdi32
34 kernel32
35 ntdll)
36
37 add_dependencies(hhctrl hhctrl_def)