xref: /reactos/dll/win32/ieframe/CMakeLists.txt (revision 4561998a)
1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3add_definitions(-D__WINESRC__)
4spec2def(ieframe.dll ieframe.spec ADD_IMPORTLIB)
5
6list(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    precomp.h
26    ${CMAKE_CURRENT_BINARY_DIR}/ieframe_stubs.c)
27
28add_library(ieframe SHARED
29    ${SOURCE}
30    ieframe.rc
31    ${CMAKE_CURRENT_BINARY_DIR}/ieframe.def)
32
33add_typelib(ieframe_v1.idl)
34
35list(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
40set_source_files_properties(ieframe.rc PROPERTIES OBJECT_DEPENDS "${ieframe_rc_deps}")
41add_dependencies(ieframe stdole2)
42set_module_type(ieframe win32dll)
43target_link_libraries(ieframe uuid wine)
44add_importlibs(ieframe urlmon shell32 comctl32 shlwapi oleaut32 ole32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
45add_pch(ieframe precomp.h SOURCE)
46add_cd_file(TARGET ieframe DESTINATION reactos/system32 FOR all)
47