1 2spec2def(wined3dcfg.cpl wined3dcfg.spec) 3 4list(APPEND SOURCE 5 wined3dcfg.c 6 general.c 7 wined3dcfg.h) 8 9add_rc_deps(wined3dcfg.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/wined3dcfg.ico) 10 11add_library(wined3dcfg MODULE 12 ${SOURCE} 13 wined3dcfg.rc 14 ${CMAKE_CURRENT_BINARY_DIR}/wined3dcfg.def) 15 16set_module_type(wined3dcfg cpl UNICODE) 17add_importlibs(wined3dcfg user32 comctl32 advapi32 msvcrt kernel32) 18add_pch(wined3dcfg wined3dcfg.h SOURCE) 19add_cd_file(TARGET wined3dcfg DESTINATION reactos/system32 FOR all) 20