Changeset 106718 in vbox
- Timestamp:
- Oct 26, 2024 1:34:41 AM (3 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r106717 r106718 387 387 # Use this to disable control flow. 388 388 #VBOX_WITHOUT_CONTROL_FLOW_GUARD = 1 389 # Select Windows 11 SDK.390 ## @todo remove this as well.391 VBOX_WITH_NEW_WINDOWS_SDK = 1392 389 # Don't use the compiler CRT for statically linked modules, use IPRT with some 393 390 # additional CRT functionality. … … 2235 2232 # Decide which Windows SDK to use by default. 2236 2233 # 2237 ifdef VBOX_WITH_NEW_WINDOWS_SDK 2238 VBOX_WINPSDK ?= WINSDK10-UM 2239 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)-INCS 2240 else if1of ($(VBOX_VCC_TOOL_STEM), VCC110) 2241 VBOX_WINPSDK ?= WINPSDK80 2242 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS 2243 else 2244 VBOX_WINPSDK ?= WINPSDK71 2245 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)INCS 2246 endif 2247 VBOX_WINPSDK_GST ?= $(VBOX_WINPSDK) 2248 VBOX_WINPSDK_GST_INCS ?= $(VBOX_WINPSDK_INCS) 2249 ifneq ($(VBOX_WINPSDK_GST),WINPSDK71) 2250 VBOX_WINPSDK_GST_W8 ?= $(VBOX_WINPSDK_GST) 2251 else 2252 VBOX_WINPSDK_GST_W8 ?= WINPSDK80 2253 endif 2254 VBOX_WINPSDK_GST_W7 ?= $(VBOX_WINPSDK_GST) 2255 VBOX_WINPSDK_GST_WLH ?= $(VBOX_WINPSDK_GST) 2256 VBOX_WINPSDK_GST_WXP ?= $(VBOX_WINPSDK_GST) 2257 ifeq ($(KBUILD_TARGET_ARCH),x86) 2258 VBOX_WINPSDK_GST_W2K ?= $(VBOX_WINPSDK_GST) 2259 VBOX_WINPSDK_GST_NT4 ?= $(VBOX_WINPSDK_GST) 2260 else 2261 VBOX_WINPSDK_GST_W2K ?= $(VBOX_WINPSDK_GST_WXP) 2262 VBOX_WINPSDK_GST_NT4 ?= $(VBOX_WINPSDK_GST_WXP) 2263 endif 2264 2234 VBOX_WINPSDK ?= WINSDK10-UM 2235 VBOX_WINPSDK_INCS ?= $(VBOX_WINPSDK)-INCS 2236 VBOX_WINPSDK_GST ?= $(VBOX_WINPSDK) 2237 VBOX_WINPSDK_GST_INCS ?= $(VBOX_WINPSDK_INCS) 2238 VBOX_WINPSDK_GST_W8 ?= $(VBOX_WINPSDK_GST) 2239 VBOX_WINPSDK_GST_W7 ?= $(VBOX_WINPSDK_GST) 2240 VBOX_WINPSDK_GST_WLH ?= $(VBOX_WINPSDK_GST) 2241 VBOX_WINPSDK_GST_WXP ?= $(VBOX_WINPSDK_GST) 2242 VBOX_WINPSDK_GST_W2K ?= $(VBOX_WINPSDK_GST) 2243 VBOX_WINPSDK_GST_NT4 ?= $(VBOX_WINPSDK_GST) 2265 2244 2266 2245 # … … 2651 2630 # Windows Installer XML (WIX) toolset. 2652 2631 VBOX_PATH_WIX ?= $(KBUILD_DEVTOOLS)/win.x86/wix/v4.0.5 2653 ifdef VBOX_WITH_NEW_WINDOWS_SDK 2654 VBOX_PATH_MSITRAN ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiTran.Exe 2655 VBOX_PATH_MSIDB ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiDb.Exe 2656 # Note! The scripts has been moved to Bin in v8.0. 2657 VBOX_PATH_WISUBSTG ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSubStg.vbs 2658 VBOX_PATH_WISUMINFO ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSumInf.vbs 2659 else 2660 VBOX_PATH_MSITRAN ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiTran.Exe 2661 VBOX_PATH_MSIDB ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Bin/MsiDb.Exe 2662 VBOX_PATH_WISUBSTG ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSubStg.vbs 2663 VBOX_PATH_WISUMINFO ?= $(KBUILD_DEVTOOLS)/win.x86/sdk/v7.1/Samples/sysmgmt/msi/scripts/WiSumInf.vbs 2664 endif 2632 VBOX_PATH_MSITRAN ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiTran.Exe 2633 VBOX_PATH_MSIDB ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/../x86/MsiDb.Exe 2634 # Note! The scripts has been moved to Bin in v8.0. 2635 VBOX_PATH_WISUBSTG ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSubStg.vbs 2636 VBOX_PATH_WISUMINFO ?= $(PATH_SDK_$(VBOX_WINPSDK)_BIN)/WiSumInf.vbs 2665 2637 VBOX_PATH_DIFX ?= $(KBUILD_DEVTOOLS)/win.$(KBUILD_TARGET_ARCH)/DIFx/v2.1-r3 2666 2638 … … 3807 3779 VBOX_VCC_WARN_ALL += -wd4746 3808 3780 endif 3809 ifndef VBOX_WITH_NEW_WINDOWS_SDK3810 # -wd5031: iprt/win/windows.h(55): warning C5031: #pragma warning(pop): likely mismatch, popping warning state pushed in different file3811 # -wd5032: iprt/win/windows.h(37): warning C5032: detected #pragma warning(push) with no corresponding #pragma warning(pop)3812 VBOX_VCC_WARN_ALL += -wd5031 -wd50323813 endif3814 3781 ifndef VBOX_NEWER_VCC_WARN_ALL 3815 3782 if "$(VBOX_VCC_TOOL_STEM)" < "VCC120" … … 4245 4212 endif 4246 4213 ifndef VBOX_PATH_SIGN_TOOLS 4247 ifdef VBOX_WITH_NEW_WINDOWS_SDK 4248 $(evalcall KB_FN_LOAD_SDK,$(VBOX_WINPSDK)) 4249 VBOX_PATH_SIGN_TOOLS = $(PATH_SDK_$(VBOX_WINPSDK)_BIN) 4250 else 4251 VBOX_PATH_SIGN_TOOLS := $(firstword $(rsort $(wildcard \ 4252 $(addprefix $(KBUILD_DEVTOOLS)/win.x86/sdk/v8.1*/Bin/, x86 $(if-expr $(KBUILD_HOST_ARCH)=="amd64",x64,) ) ))) 4253 ifeq ($(VBOX_PATH_SIGN_TOOLS),) 4254 VBOX_PATH_SIGN_TOOLS := $(firstword $(rsort $(wildcard \ 4255 $(addprefix $(KBUILD_DEVTOOLS)/win.x86/sdk/v10*/Bin/, x86 $(if-expr $(KBUILD_HOST_ARCH)=="amd64",x64,) ) ))) 4256 ifeq ($(VBOX_PATH_SIGN_TOOLS),) 4257 VBOX_PATH_SIGN_TOOLS := $(VBOX_PATH_SELFSIGN) 4258 endif 4259 endif 4260 endif 4214 $(evalcall KB_FN_LOAD_SDK,$(VBOX_WINPSDK)) 4215 VBOX_PATH_SIGN_TOOLS = $(PATH_SDK_$(VBOX_WINPSDK)_BIN) 4261 4216 endif 4262 4217 -
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r106170 r106718 499 499 VirtualBox_LIBS.win = \ 500 500 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib 501 ifdef VBOX_WITH_NEW_WINDOWS_SDK 502 VirtualBox_LIBS.win += \ 503 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 504 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 505 else 506 VirtualBox_LIBS.win += \ 507 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 508 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 509 endif 501 VirtualBox_LIBS.win += \ 502 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 503 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 510 504 511 505 # VBox keyboard shared library for X11 hosts: … … 548 542 VirtualBoxVM_LIBS.win = \ 549 543 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Htmlhelp.Lib 550 ifdef VBOX_WITH_NEW_WINDOWS_SDK 551 VirtualBoxVM_LIBS.win += \ 552 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 553 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 554 else 555 VirtualBoxVM_LIBS.win += \ 556 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \ 557 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib 558 endif 544 VirtualBoxVM_LIBS.win += \ 545 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/ddraw.lib \ 546 $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/dxguid.lib 559 547 560 548 # VBox keyboard shared library for X11 hosts:
Note:
See TracChangeset
for help on using the changeset viewer.