mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
19 lines
506 B
CMake
19 lines
506 B
CMake
|
|
spec2def(openglcfg.cpl openglcfg.spec)
|
|
|
|
list(APPEND SOURCE
|
|
openglcfg.c
|
|
general.c
|
|
openglcfg.h)
|
|
|
|
add_rc_deps(openglcfg.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/openglcfg.ico)
|
|
|
|
add_library(openglcfg MODULE
|
|
${SOURCE}
|
|
openglcfg.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/openglcfg.def)
|
|
|
|
set_module_type(openglcfg cpl UNICODE)
|
|
add_importlibs(openglcfg user32 comctl32 advapi32 msvcrt kernel32)
|
|
add_pch(openglcfg openglcfg.h SOURCE)
|
|
add_cd_file(TARGET openglcfg DESTINATION reactos/system32 FOR all)
|