[CMAKE]
[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_stubs.c
11 ${CMAKE_CURRENT_BINARY_DIR}/olecli32.def)
12
13 add_library(olecli32 SHARED ${SOURCE})
14 set_entrypoint(olecli32 0)
15
16 target_link_libraries(olecli32 wine)
17
18 add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
19 add_dependencies(olecli32 psdk)
20 add_cd_file(TARGET olecli32 DESTINATION reactos/system32 FOR all)