reactos/win32ss/drivers/displays/vga/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

24 lines
567 B
CMake

list(APPEND SOURCE
main/enable.c
objects/screen.c
objects/pointer.c
objects/lineto.c
objects/paint.c
objects/bitblt.c
objects/transblt.c
objects/offscreen.c
objects/copybits.c
vgavideo/vgavideo.c
vgaddi.h)
add_library(vgaddi MODULE
${SOURCE}
vgaddi.rc)
set_module_type(vgaddi kerneldll ENTRYPOINT DrvEnableDriver 12)
add_pch(vgaddi vgaddi.h SOURCE)
add_importlibs(vgaddi win32k)
target_link_libraries(vgaddi libcntpr)
add_dependencies(vgaddi psdk)
add_cd_file(TARGET vgaddi DESTINATION reactos/system32 FOR all)