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