mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00
32 lines
666 B
CMake
32 lines
666 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|
|
|
add_definitions(-D_VIDEOPORT_)
|
|
|
|
spec2def(videoprt.sys videoprt.spec)
|
|
|
|
list(APPEND SOURCE
|
|
agp.c
|
|
ddc.c
|
|
dispatch.c
|
|
dma.c
|
|
event.c
|
|
funclist.c
|
|
int10.c
|
|
interrupt.c
|
|
resource.c
|
|
services.c
|
|
spinlock.c
|
|
stubs.c
|
|
timer.c
|
|
videoprt.c
|
|
videoprt.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/videoprt.def)
|
|
|
|
add_library(videoprt SHARED ${CMAKE_CURRENT_BINARY_DIR}/videoprt_videoprt.h.gch ${SOURCE})
|
|
|
|
set_module_type(videoprt kernelmodedriver)
|
|
add_importlibs(videoprt ntoskrnl hal)
|
|
|
|
add_pch(videoprt ${CMAKE_CURRENT_SOURCE_DIR}/videoprt.h ${SOURCE})
|
|
add_cab_target(videoprt 2)
|