mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +00:00
![Stanislav Motylkov](/assets/img/avatar_default.png)
- 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 to073a1ea3
andf03750de
. CORE-18201 CORE-17977
21 lines
589 B
CMake
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()
|