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