VirtualBox

Ignore:
Timestamp:
Jan 19, 2023 2:25:46 PM (2 years ago)
Author:
vboxsync
Message:

Add/WinNT/Graphics: Converted some optionally compiled 3D related tests and windbg extensions from VBOXR3STATIC to more appropriate templates and made them build again. Guard is now called VBOX_WITH_VBOXVIDEOWINDBG. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/Makefile.kmk

    r98128 r98141  
    242242endif #ifdef VBOX_WITH_WDDM
    243243
    244 ifdef VBOXVIDEOWINDBG
     244
     245ifdef VBOX_WITH_VBOXVIDEOWINDBG
     246#
     247# A windbg extension and a few test programs.
     248#
     249
    245250DLLS += vbvdbg
    246 vbvdbg_TEMPLATE = VBOXR3STATIC
     251vbvdbg_TEMPLATE = VBoxR3StaticDll
    247252vbvdbg_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    248253vbvdbg_DEFS     = UNICODE _UNICODE
     
    252257
    253258PROGRAMS += tstMvWnd
    254 tstMvWnd_TEMPLATE = VBoxR3Exe
     259tstMvWnd_TEMPLATE = VBoxR3Static
    255260tstMvWnd_DEFS     = UNICODE _UNICODE
    256 tstMvWnd_SOURCES  = \
    257         wddm/dbg/tstMvWnd.cpp
    258 tstMvWnd_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3)
    259 tstMvWnd_LDFLAGS.win = /SUBSYSTEM:windows
     261tstMvWnd_SOURCES  = wddm/dbg/tstMvWnd.cpp
     262#tstMvWnd_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) - Use guest template if this is wanted! duh!
     263#tstMvWnd_LDFLAGS  = /SUBSYSTEM:windows
    260264
    261265PROGRAMS += DumpD3DCaps9
     
    263267DumpD3DCaps9_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    264268DumpD3DCaps9_DEFS     = UNICODE _UNICODE
    265 DumpD3DCaps9_SOURCES  = \
    266         wddm/dbg/DumpD3DCaps9.cpp
     269DumpD3DCaps9_SOURCES  = wddm/dbg/DumpD3DCaps9.cpp
    267270DumpD3DCaps9_LIBS     = d3d9.lib
    268 DumpD3DCaps9_LDFLAGS.win = /SUBSYSTEM:CONSOLE
    269271
    270272PROGRAMS += D3DFeatureLevel
    271 D3DFeatureLevel_TEMPLATE = VBOXR3STATIC
     273D3DFeatureLevel_TEMPLATE = VBoxR3Static
    272274D3DFeatureLevel_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    273 D3DFeatureLevel_SOURCES  = \
    274         wddm/dbg/D3DFeatureLevel.cpp
    275 D3DFeatureLevel_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) d3d11.lib
    276 D3DFeatureLevel_LDFLAGS.win = /SUBSYSTEM:CONSOLE
    277 
    278 endif #VBOXVIDEOWINDBG
     275D3DFeatureLevel_SOURCES  = wddm/dbg/D3DFeatureLevel.cpp
     276D3DFeatureLevel_LIBS     = d3d11.lib
     277#D3DFeatureLevel_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) d3d11.lib - Use guest template if this is wanted! duh!
     278#D3DFeatureLevel_LDFLAGS.win = /SUBSYSTEM:CONSOLE
     279
     280endif # VBOX_WITH_VBOXVIDEOWINDBG
    279281
    280282include $(FILE_KBUILD_SUB_FOOTER)
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