VirtualBox

Changeset 58233 in vbox


Ignore:
Timestamp:
Oct 14, 2015 12:06:56 PM (9 years ago)
Author:
vboxsync
Message:

Another VBOX_WITH_DEBUG_VCC_CRT fix.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r58210 r58233  
    15741574# Select the CRT type we're using with Microsoft Visual C++.
    15751575#
     1576if1of ($(KBUILD_TYPE), debug dbgopt strict)
     1577#not yet# VBOX_WITH_DEBUG_VCC_CRT = 1
     1578endif
    15761579ifdef VBOX_WITH_DEBUG_VCC_CRT
    15771580 VBOX_VCC_CRT_TYPE   = d
     
    52175220        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib \
    52185221        $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib
    5219   ifdef VBOX_WITH_DEBUG_VCC_CRT # VBoxCOM (static) is causing trouble of course.
    5220    TEMPLATE_VBOXQT4GUIEXE_LIBS += \
    5221         $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcrt$(VBOX_VCC_CRT_TYPE).lib \
    5222         $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/msvcprt$(VBOX_VCC_CRT_TYPE).lib
    5223   endif
    52245222  TEMPLATE_VBOXQT4GUIEXE_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS)
    52255223
     
    53115309 # Add COM/XPCOM stuff
    53125310 TEMPLATE_VBOXQT4GUIEXE_LIBS += \
    5313         $(PATH_STAGE_LIB)/VBoxCOM$(VBOX_SUFF_LIB)
     5311        $(PATH_STAGE_LIB)/VBoxCOM$(if-expr defined(VBOX_WITH_DEBUG_VCC_CRT) && $(KBUILD_TARGET) == win,-GUI,)$(VBOX_SUFF_LIB)
    53145312 ifdef VBOX_WITH_XPCOM
    53155313  ## @todo may be worth creating the VBOX_XPCOM SDK def, or just a SDK_VBOXXPCOM.
  • trunk/src/VBox/Main/Makefile.kmk

    r58003 r58233  
    932932endif
    933933
     934# -MD version for the GUI in -MDd builds.
     935ifeq ($(KBUILD_TARGET).$(VBOX_VCC_CRT_TYPE),win.d)
     936 LIBRARIES += VBoxCOM-GUI
     937 USES += qt4
     938 VBoxCOM-GUI_TEMPLATE = VBOXQT4GUI$(if-expr defined(VBOX_WITH_HARDENING),,EXE)
     939 VBoxCOM-GUI_EXTENDS  = VBoxCOM
     940endif
     941
    934942
    935943
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