2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(olepro32.dll olepro32.spec)
|
2016-03-06 16:11:19 +00:00
|
|
|
add_typelib(olepro.idl)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
olepro32stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/olepro32.def)
|
|
|
|
|
2016-03-06 16:11:19 +00:00
|
|
|
list(APPEND olepro32_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/olepro_t.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/olepro.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${olepro32_rc_deps}")
|
|
|
|
|
2013-09-26 14:03:23 +00:00
|
|
|
add_library(olepro32 SHARED ${SOURCE} version.rc)
|
2018-03-18 16:19:37 +00:00
|
|
|
add_dependencies(olepro32 stdole2)
|
2013-02-23 16:45:48 +00:00
|
|
|
set_module_type(olepro32 win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(olepro32 wine)
|
2013-09-26 14:03:23 +00:00
|
|
|
add_importlibs(olepro32 oleaut32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET olepro32 DESTINATION reactos/system32 FOR all)
|