1 2spec2def(msports.dll msports.spec) 3 4list(APPEND SOURCE 5 classinst.c 6 comdb.c 7 msports.c 8 parallel.c 9 serial.c 10 precomp.h 11 ${CMAKE_CURRENT_BINARY_DIR}/msports_stubs.c) 12 13add_library(msports SHARED 14 ${SOURCE} 15 msports.rc 16 ${CMAKE_CURRENT_BINARY_DIR}/msports.def) 17 18set_module_type(msports win32dll UNICODE) 19target_link_libraries(msports wine) 20add_importlibs(msports setupapi comctl32 user32 advapi32 msvcrt kernel32 ntdll) 21add_pch(msports precomp.h SOURCE) 22add_cd_file(TARGET msports DESTINATION reactos/system32 FOR all) 23