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