[WIN32SS] Always build all video miniport drivers

But include registry changes and INF files depending on SARCH variable.
This commit is expected to uncover pc98vid build error on MSVC 2015.

Addendum to 8c475e4. CORE-17529
This commit is contained in:
Stanislav Motylkov 2021-05-18 14:24:10 +03:00
parent 81987761d9
commit 0bd8a2110b
No known key found for this signature in database
GPG key ID: AFE513258CBA9E92
3 changed files with 18 additions and 13 deletions

View file

@ -1,11 +1,10 @@
if(SARCH STREQUAL "pc98")
add_subdirectory(vbe)
add_subdirectory(vga)
add_subdirectory(vga_new)
add_subdirectory(vmx_svga)
if(ARCH STREQUAL "i386")
add_subdirectory(pc98vid)
elseif(SARCH STREQUAL "xbox")
add_subdirectory(xboxvmp)
else()
add_subdirectory(vbe)
add_subdirectory(vga)
add_subdirectory(vga_new)
add_subdirectory(vmx_svga)
endif()

View file

@ -12,6 +12,9 @@ set_module_type(pc98vid kernelmodedriver)
set_target_properties(pc98vid PROPERTIES OUTPUT_NAME "vga" PDB_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
add_pch(pc98vid pc98vid.h SOURCE)
add_importlibs(pc98vid ntoskrnl videoprt)
add_cd_file(TARGET pc98vid DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(pc98vid_reg.inf)
add_driver_inf(pc98vid pc98disp.inf)
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()

View file

@ -9,6 +9,9 @@ add_library(xboxvmp MODULE
set_module_type(xboxvmp kernelmodedriver)
add_importlibs(xboxvmp ntoskrnl videoprt)
add_cd_file(TARGET xboxvmp DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(xboxvmp_reg.inf)
add_driver_inf(xboxvmp xboxdisp.inf)
if(SARCH STREQUAL "xbox")
add_cd_file(TARGET xboxvmp DESTINATION reactos/system32/drivers FOR all)
add_registry_inf(xboxvmp_reg.inf)
add_driver_inf(xboxvmp xboxdisp.inf)
endif()