2376319134ce4090df0c765673c23cadb4bc04c7
[reactos.git] / reactos / dll / win32 / olepro32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(olepro32.dll olepro32.spec)
5
6 list(APPEND SOURCE
7 olepro32stubs.c
8 ${CMAKE_CURRENT_BINARY_DIR}/olepro32.def)
9
10 add_library(olepro32 SHARED ${SOURCE} version.rc)
11 set_module_type(olepro32 win32dll)
12 target_link_libraries(olepro32 wine)
13 add_importlibs(olepro32 oleaut32 msvcrt kernel32 ntdll)
14 add_cd_file(TARGET olepro32 DESTINATION reactos/system32 FOR all)