[CMAKE]
[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 add_library(olesvr32 SHARED olesvr_main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
9
10 set_entrypoint(olesvr32 0)
11
12 target_link_libraries(olesvr32
13 wine
14 mingw_common)
15
16 add_importlibs(olesvr32 kernel32 ntdll)
17 add_dependencies(olesvr32 psdk buildno_header)
18 add_cab_target(olesvr32 1)