1dc50f07139fb72c66be2ec32e4c75b2eaf6794f
[reactos.git] / dll / win32 / olesvr32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(olesvr32.dll olesvr32.spec)
6
7 list(APPEND SOURCE
8 olesvr_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
10
11 add_library(olesvr32 SHARED ${SOURCE})
12
13 set_entrypoint(olesvr32 0)
14
15 target_link_libraries(olesvr32
16 wine
17 mingw_common)
18
19 add_importlibs(olesvr32 kernel32 ntdll)
20 add_dependencies(olesvr32 psdk buildno_header)
21 add_cab_target(olesvr32 1)