2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
5 spec2def(ieframe.dll ieframe.spec ADD_IMPORTLIB)
27 ${CMAKE_CURRENT_BINARY_DIR}/ieframe_stubs.c)
29 add_library(ieframe SHARED
32 ${CMAKE_CURRENT_BINARY_DIR}/ieframe.def)
34 add_typelib(ieframe_v1.idl)
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)
41 set_source_files_properties(ieframe.rc PROPERTIES OBJECT_DEPENDS "${ieframe_rc_deps}")
43 # ieframe_v1.tlb needs stdole2.tlb
44 add_dependencies(ieframe stdole2)
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)