2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(ieframe.dll ieframe.spec ADD_IMPORTLIB)
26 ${CMAKE_CURRENT_BINARY_DIR}/ieframe_stubs.c)
28 add_library(ieframe SHARED
31 ${CMAKE_CURRENT_BINARY_DIR}/ieframe.def)
33 add_typelib(ieframe_v1.idl)
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)
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)