1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3add_definitions(-D__WINESRC__) 4spec2def(olethk32.dll olethk32.spec) 5 6list(APPEND SOURCE 7 main.c 8 version.rc 9 ${CMAKE_CURRENT_BINARY_DIR}/olethk32_stubs.c 10 ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def) 11 12add_library(olethk32 SHARED ${SOURCE}) 13set_module_type(olethk32 win32dll) 14target_link_libraries(olethk32 wine) 15add_importlibs(olethk32 msvcrt kernel32 ntdll) 16add_cd_file(TARGET olethk32 DESTINATION reactos/system32 FOR all) 17