[CMAKE]
[reactos.git] / dll / win32 / olepro32 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(olepro32.dll olepro32.spec)
6
7 list(APPEND SOURCE
8 olepro32stubs.c
9 version.rc
10 ${CMAKE_CURRENT_BINARY_DIR}/olepro32.def)
11
12 add_library(olepro32 SHARED ${SOURCE})
13
14 set_entrypoint(olepro32 0)
15
16 target_link_libraries(olepro32 wine)
17
18 add_importlibs(olepro32
19 oleaut32
20 kernel32
21 ntdll)
22
23 add_cd_file(TARGET olepro32 DESTINATION reactos/system32)