[CMAKE]
[reactos.git] / dll / win32 / hhctrl.ocx / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 set_rc_compiler()
10 spec2def(hhctrl.ocx hhctrl.ocx.spec)
11
12 add_library(hhctrl SHARED
13 chm.c
14 content.c
15 help.c
16 hhctrl.c
17 index.c
18 regsvr.c
19 search.c
20 stream.c
21 webbrowser.c
22 hhctrl.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
24
25 set_module_type(hhctrl win32ocx)
26
27 target_link_libraries(hhctrl uuid wine itss_guid)
28
29 add_importlibs(hhctrl
30 advapi32
31 comctl32
32 shlwapi
33 ole32
34 oleaut32
35 user32
36 gdi32
37 msvcrt
38 kernel32
39 ntdll)
40
41 add_cd_file(TARGET hhctrl DESTINATION reactos/system32 FOR all)