1
2include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
3add_definitions(-D_VIDEOPORT_)
4spec2def(videoprt.sys videoprt.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    agp.c
8    child.c
9    ddc.c
10    dispatch.c
11    dma.c
12    event.c
13    funclist.c
14    int10.c
15    interrupt.c
16    registry.c
17    resource.c
18    services.c
19    spinlock.c
20    stubs.c
21    timer.c
22    videoprt.c
23    videoprt.h)
24
25add_library(videoprt SHARED
26    ${SOURCE}
27    guid.c
28    videoprt.rc
29    ${CMAKE_CURRENT_BINARY_DIR}/videoprt.def)
30
31set_module_type(videoprt kernelmodedriver)
32add_importlibs(videoprt ntoskrnl hal)
33add_pch(videoprt videoprt.h SOURCE)
34add_cd_file(TARGET videoprt DESTINATION reactos/system32/drivers FOR all)
35