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