1 2spec2def(avicap32.dll avicap32.spec ADD_IMPORTLIB) 3 4include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 5 6add_library(avicap32 SHARED 7 avicap32.c 8 avicap32.rc 9 ${CMAKE_CURRENT_BINARY_DIR}/avicap32.def) 10 11set_module_type(avicap32 win32dll UNICODE) 12target_link_libraries(avicap32 wine) 13add_importlibs(avicap32 advapi32 user32 version msvcrt kernel32 ntdll) 14add_cd_file(TARGET avicap32 DESTINATION reactos/system32 FOR all) 15