1
2list(APPEND SOURCE
3    hardware.c
4    ioctl.c
5    pc98vid.c
6    pc98vid.h)
7
8add_library(pc98vid MODULE ${SOURCE} pc98vid.rc)
9
10set_module_type(pc98vid kernelmodedriver)
11# Actual binary filename is vga.sys
12set_target_properties(pc98vid PROPERTIES OUTPUT_NAME "vga" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
13add_pch(pc98vid pc98vid.h SOURCE)
14add_importlibs(pc98vid ntoskrnl videoprt)
15
16if(SARCH STREQUAL "pc98")
17    add_cd_file(TARGET pc98vid DESTINATION reactos/system32/drivers FOR all)
18    add_registry_inf(pc98vid_reg.inf)
19    add_driver_inf(pc98vid pc98disp.inf)
20endif()
21