// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

// **********************************************************************
// NOTE: the sections are not ordered by their logical order to avoid
// reshuffling the file each time the index order changes (i.e., often).
// Run the fixnavi.pl script to adjust the links to the index order.
// **********************************************************************

/*!
    \page creator-build-dependencies.html
    \previouspage creator-how-tos.html

    \ingroup creator-how-to-projects-configure

    \title Specify dependencies

    If you have multiple projects loaded in a session, you can define the
    order in which they are built. For example, if project A depends on project
    B, project B must be built first.

    \note The build order is stored as a property of a session, not a project.
    You must open the session for these settings to take effect.

    \image qtcreator-projects-build-dependencies.webp {Dependencies settings in Projects mode}

    To define the build order of projects within a session:

    \list 1

        \li Go to \uicontrol Projects > \uicontrol {Project Settings} >
            \uicontrol Dependencies.

        \li Select projects that must be built before the current project is
            built.

        \li Select \uicontrol {Synchronize configuration} to
            use the same kit as well as the same build and deploy
            configuration to build and deploy all dependent projects loaded
            in a session.

        \li Select \uicontrol {Deploy dependencies} to deploy the built
            dependent projects.

    \endlist

    \QC calculates the build order based on the dependencies that you
    specify for the projects loaded in the session.

    \note You cannot use this view to specify subprojects for projects.

    \sa {Add subprojects to projects}, {Manage sessions}

*/
