reactos/win32ss/drivers/miniport/pc98vid/CMakeLists.txt
Stanislav Motylkov 17e0e4428c
[PC98VID] Fix video driver settings
- Store settings in non hardware-profile registry key.
- Rename driver file to vgapnp.sys to keep in sync with VBE.
- This makes PC-98 video driver working again.

Addendum to 073a1ea3 and f03750de. CORE-18201 CORE-17977
2022-05-27 18:56:13 +03:00

21 lines
589 B
CMake

list(APPEND SOURCE
hardware.c
ioctl.c
pc98vid.c
pc98vid.h)
add_library(pc98vid MODULE ${SOURCE} pc98vid.rc)
set_module_type(pc98vid kernelmodedriver)
# Actual binary filename is vgapnp.sys
set_target_properties(pc98vid PROPERTIES OUTPUT_NAME "vgapnp" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
add_pch(pc98vid pc98vid.h SOURCE)
add_importlibs(pc98vid ntoskrnl videoprt)
if(SARCH STREQUAL "pc98")
add_cd_file(TARGET pc98vid DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(pc98vid_reg.inf)
add_driver_inf(pc98vid pc98disp.inf)
endif()