* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[reactos.git] / dll / win32 / ieframe / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(ieframe.dll ieframe.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 classinfo.c
9 client.c
10 dochost.c
11 events.c
12 frame.c
13 ie.c
14 ieframe_main.c
15 iehtmlwnd.c
16 iexplore.c
17 intshcut.c
18 navigate.c
19 oleobject.c
20 persist.c
21 shellbrowser.c
22 shelluihelper.c
23 urlhist.c
24 view.c
25 webbrowser.c
26 ieframe.h
27 ${CMAKE_CURRENT_BINARY_DIR}/ieframe_stubs.c)
28
29 add_library(ieframe SHARED
30 ${SOURCE}
31 ieframe.rc
32 ${CMAKE_CURRENT_BINARY_DIR}/ieframe.def)
33
34 add_typelib(ieframe_v1.idl)
35
36 list(APPEND ieframe_rc_deps
37 ${CMAKE_CURRENT_SOURCE_DIR}/ieframe.rgs
38 ${CMAKE_CURRENT_SOURCE_DIR}/ieframe_v1.rgs
39 ${CMAKE_CURRENT_BINARY_DIR}/ieframe_v1.tlb)
40
41 set_source_files_properties(ieframe.rc PROPERTIES OBJECT_DEPENDS "${ieframe_rc_deps}")
42
43 # ieframe_v1.tlb needs stdole2.tlb
44 add_dependencies(ieframe stdole2)
45
46 set_module_type(ieframe win32dll)
47 target_link_libraries(ieframe uuid wine)
48 add_importlibs(ieframe urlmon shell32 comctl32 shlwapi oleaut32 ole32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
49 add_pch(ieframe ieframe.h SOURCE)
50 add_cd_file(TARGET ieframe DESTINATION reactos/system32 FOR all)