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