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