2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4 spec2def(olethk32.dll olethk32.spec)
9 ${CMAKE_CURRENT_BINARY_DIR}/olethk32_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
12 add_library(olethk32 SHARED ${SOURCE})
13 set_module_type(olethk32 win32dll)
14 target_link_libraries(olethk32 wine)
15 add_importlibs(olethk32 msvcrt kernel32 ntdll)
16 add_dependencies(olethk32 psdk)
17 add_cd_file(TARGET olethk32 DESTINATION reactos/system32 FOR all)