mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +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.
24 lines
567 B
CMake
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)
|