VirtualBox

Ignore:
Timestamp:
Oct 1, 2018 2:19:25 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9241: Split GUI Makefile more deeply according to specified VBOX_GUI_WITH_NEW_MANAGER, avoiding building unwanted stuff in both cases.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r74249 r74551  
    358358        ./src/runtime/information \
    359359        ./src/runtime/guestctrl \
    360         ./src/selector \
    361         ./src/selector/graphics/chooser \
    362         ./src/selector/graphics/details \
    363360        ./src/settings \
    364361        ./src/settings/global \
     
    376373        ./src/wizards/firstrun
    377374
    378 ifdef VBOX_GUI_WITH_NEW_MANAGER
    379 VBOX_GUI_INC_DIRS += \
     375ifndef VBOX_GUI_WITH_NEW_MANAGER
     376 VBOX_GUI_INC_DIRS += \
     377        ./src/selector \
     378        ./src/selector/graphics/chooser \
     379        ./src/selector/graphics/details
     380else
     381 VBOX_GUI_INC_DIRS += \
    380382        ./src/manager \
    381383        ./src/manager/chooser \
     
    682684        src/medium/UIMediumDetailsWidget.h \
    683685        src/medium/UIMediumManager.h \
    684         src/selector/UIDesktopPane.h \
    685         src/selector/UIVMItem.h \
    686         src/selector/UISelectorWindow.h \
    687         src/selector/UIToolsPaneGlobal.h \
    688         src/selector/UIToolsPaneMachine.h \
    689         src/selector/UIToolsToolbar.h \
    690         src/selector/graphics/chooser/UIGChooser.h \
    691         src/selector/graphics/chooser/UIGChooserModel.h \
    692         src/selector/graphics/chooser/UIGChooserView.h \
    693         src/selector/graphics/chooser/UIGChooserHandlerMouse.h \
    694         src/selector/graphics/chooser/UIGChooserHandlerKeyboard.h \
    695         src/selector/graphics/chooser/UIGChooserItem.h \
    696         src/selector/graphics/chooser/UIGChooserItemGroup.h \
    697         src/selector/graphics/chooser/UIGChooserItemMachine.h \
    698         src/selector/graphics/details/UIGDetails.h \
    699         src/selector/graphics/details/UIGDetailsModel.h \
    700         src/selector/graphics/details/UIGDetailsView.h \
    701         src/selector/graphics/details/UIGDetailsItem.h \
    702         src/selector/graphics/details/UIGDetailsGroup.h \
    703         src/selector/graphics/details/UIGDetailsSet.h \
    704         src/selector/graphics/details/UIGDetailsElement.h \
    705         src/selector/graphics/details/UIGDetailsElements.h \
    706         src/selector/graphics/details/UIGMachinePreview.h \
    707686        src/snapshots/UISnapshotDetailsWidget.h \
    708687        src/snapshots/UISnapshotPane.h \
     
    748727        src/wizards/importappliance/UIWizardImportAppPageExpert.h
    749728
    750 ifdef VBOX_GUI_WITH_NEW_MANAGER
     729ifndef VBOX_GUI_WITH_NEW_MANAGER
     730 VirtualBox_QT_MOCHDRS += \
     731        src/selector/UIDesktopPane.h \
     732        src/selector/UIVMItem.h \
     733        src/selector/UISelectorWindow.h \
     734        src/selector/UIToolsPaneGlobal.h \
     735        src/selector/UIToolsPaneMachine.h \
     736        src/selector/UIToolsToolbar.h \
     737        src/selector/graphics/chooser/UIGChooser.h \
     738        src/selector/graphics/chooser/UIGChooserModel.h \
     739        src/selector/graphics/chooser/UIGChooserView.h \
     740        src/selector/graphics/chooser/UIGChooserHandlerMouse.h \
     741        src/selector/graphics/chooser/UIGChooserHandlerKeyboard.h \
     742        src/selector/graphics/chooser/UIGChooserItem.h \
     743        src/selector/graphics/chooser/UIGChooserItemGroup.h \
     744        src/selector/graphics/chooser/UIGChooserItemMachine.h \
     745        src/selector/graphics/details/UIGDetails.h \
     746        src/selector/graphics/details/UIGDetailsModel.h \
     747        src/selector/graphics/details/UIGDetailsView.h \
     748        src/selector/graphics/details/UIGDetailsItem.h \
     749        src/selector/graphics/details/UIGDetailsGroup.h \
     750        src/selector/graphics/details/UIGDetailsSet.h \
     751        src/selector/graphics/details/UIGDetailsElement.h \
     752        src/selector/graphics/details/UIGDetailsElements.h \
     753        src/selector/graphics/details/UIGMachinePreview.h
     754else
    751755 VirtualBox_QT_MOCHDRS += \
    752756        src/manager/UIToolbarTools.h \
     
    12101214#
    12111215VirtualBox_QT_MOCSRCS = \
    1212         src/selector/UIDesktopPane.cpp \
    12131216        src/snapshots/UISnapshotDetailsWidget.cpp \
    12141217        src/snapshots/UISnapshotPane.cpp \
     
    12171220        src/wizards/importappliance/UIWizardImportApp.cpp
    12181221
    1219 ifdef VBOX_GUI_WITH_NEW_MANAGER
     1222ifndef VBOX_GUI_WITH_NEW_MANAGER
     1223 VirtualBox_QT_MOCSRCS += \
     1224        src/selector/UIDesktopPane.cpp
     1225else
    12201226 VirtualBox_QT_MOCSRCS += \
    12211227        src/manager/UIWelcomePane.cpp
     
    13671373        src/medium/UIMediumDetailsWidget.cpp \
    13681374        src/medium/UIMediumManager.cpp \
    1369         src/selector/UIDesktopPane.cpp \
    1370         src/selector/UIVMItem.cpp \
    1371         src/selector/UISelectorWindow.cpp \
    1372         src/selector/UIToolsPaneGlobal.cpp \
    1373         src/selector/UIToolsPaneMachine.cpp \
    1374         src/selector/UIToolsToolbar.cpp \
    1375         src/selector/graphics/chooser/UIGChooser.cpp \
    1376         src/selector/graphics/chooser/UIGChooserModel.cpp \
    1377         src/selector/graphics/chooser/UIGChooserView.cpp \
    1378         src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp \
    1379         src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp \
    1380         src/selector/graphics/chooser/UIGChooserItem.cpp \
    1381         src/selector/graphics/chooser/UIGChooserItemGroup.cpp \
    1382         src/selector/graphics/chooser/UIGChooserItemMachine.cpp \
    1383         src/selector/graphics/details/UIGDetails.cpp \
    1384         src/selector/graphics/details/UIGDetailsModel.cpp \
    1385         src/selector/graphics/details/UIGDetailsView.cpp \
    1386         src/selector/graphics/details/UIGDetailsItem.cpp \
    1387         src/selector/graphics/details/UIGDetailsGroup.cpp \
    1388         src/selector/graphics/details/UIGDetailsSet.cpp \
    1389         src/selector/graphics/details/UIGDetailsElement.cpp \
    1390         src/selector/graphics/details/UIGDetailsElements.cpp \
    1391         src/selector/graphics/details/UIGMachinePreview.cpp \
    13921375        src/snapshots/UISnapshotDetailsWidget.cpp \
    13931376        src/snapshots/UISnapshotPane.cpp \
     
    14331416        src/wizards/importappliance/UIWizardImportAppPageExpert.cpp
    14341417
    1435 ifdef VBOX_GUI_WITH_NEW_MANAGER
     1418ifndef VBOX_GUI_WITH_NEW_MANAGER
     1419 VirtualBox_SOURCES += \
     1420        src/selector/UIDesktopPane.cpp \
     1421        src/selector/UIVMItem.cpp \
     1422        src/selector/UISelectorWindow.cpp \
     1423        src/selector/UIToolsPaneGlobal.cpp \
     1424        src/selector/UIToolsPaneMachine.cpp \
     1425        src/selector/UIToolsToolbar.cpp \
     1426        src/selector/graphics/chooser/UIGChooser.cpp \
     1427        src/selector/graphics/chooser/UIGChooserModel.cpp \
     1428        src/selector/graphics/chooser/UIGChooserView.cpp \
     1429        src/selector/graphics/chooser/UIGChooserHandlerMouse.cpp \
     1430        src/selector/graphics/chooser/UIGChooserHandlerKeyboard.cpp \
     1431        src/selector/graphics/chooser/UIGChooserItem.cpp \
     1432        src/selector/graphics/chooser/UIGChooserItemGroup.cpp \
     1433        src/selector/graphics/chooser/UIGChooserItemMachine.cpp \
     1434        src/selector/graphics/details/UIGDetails.cpp \
     1435        src/selector/graphics/details/UIGDetailsModel.cpp \
     1436        src/selector/graphics/details/UIGDetailsView.cpp \
     1437        src/selector/graphics/details/UIGDetailsItem.cpp \
     1438        src/selector/graphics/details/UIGDetailsGroup.cpp \
     1439        src/selector/graphics/details/UIGDetailsSet.cpp \
     1440        src/selector/graphics/details/UIGDetailsElement.cpp \
     1441        src/selector/graphics/details/UIGDetailsElements.cpp \
     1442        src/selector/graphics/details/UIGMachinePreview.cpp
     1443else
    14361444 VirtualBox_SOURCES += \
    14371445        src/manager/UIToolbarTools.cpp \
     
    25032511                extradata \
    25042512                globals \
     2513                manager \
     2514                manager/chooser \
     2515                manager/details \
     2516                manager/tools \
     2517                manager \
     2518                manager \
    25052519                medium \
    25062520                net \
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