VirtualBox

Changeset 93359 in vbox for trunk


Ignore:
Timestamp:
Jan 20, 2022 11:25:36 AM (3 years ago)
Author:
vboxsync
Message:

Config.kmk,Devices/Makefile.kmk: Add includes for the directx headers when compiling on non Windows hosts based on the dxvk-native library, bugref:10013

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r93344 r93359  
    47514751 SDK_VBOX_TPMS_INCS         ?= $(SDK_VBOX_TPMS_DEFAULT_INCS)
    47524752 SDK_VBOX_TPMS_LIBS         ?= $(PATH_STAGE_LIB)/VBox-libtpms$(VBOX_SUFF_LIB)
     4753endif
     4754
     4755ifdef VBOX_WITH_DXVK
     4756 SDK_VBOX_DXVK               = .
     4757 SDK_VBOX_DXVK_DEFAULT_INCS := \
     4758  $(PATH_ROOT)/src/libs/dxvk-native-1.9.2a/include/native/directx \
     4759  $(PATH_ROOT)/src/libs/dxvk-native-1.9.2a/include/native/windows
     4760 SDK_VBOX_DXVK_INCS         ?= $(SDK_VBOX_DXVK_DEFAULT_INCS)
     4761 # Loaded dynamically
     4762 SDK_VBOX_DXVK_LIBS         ?=
    47534763endif
    47544764
  • trunk/src/VBox/Devices/Makefile.kmk

    r93312 r93359  
    330330       Graphics/DevVGA-SVGA3d-dx.cpp \
    331331       Graphics/DevVGA-SVGA3d-dx-shader.cpp
    332    if "$(KBUILD_TARGET)" == "win"
     332   if1of ($(KBUILD_TARGET), linux win)
     333    VBoxDD_SDKS.linux   += VBOX_DXVK
    333334    VBoxDD_DEFS         += VMSVGA3D_DX_BACKEND
    334335    VBoxDD_SOURCES      += \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette