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