aboutsummaryrefslogtreecommitdiffstats
path: root/doc/qtcreator/src/meson/creator-projects-meson-building.qdocinc
blob: 40b5f929fee3b29e6414c2f5573b04137b7096d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/****************************************************************************
**
** Copyright (C) 2020 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Creator documentation.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Free Documentation License Usage
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file. Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
**
****************************************************************************/
/*!
//! [meson build configuration]

    \section2 Meson Build Configuration

    \image qtcreator-meson-build-settings.png

    Settings are grouped by category by Meson. All items are user modifiable
    except \c backend which is forced to Ninja, \c {buildtype}, \c debug as well
    as \c optimization to ensure a good compatibility with \QC.

    Each setting type has its own editor. To modif any setting, double-click it,
    either edit the field, or select your choice depending on the control. To
    apply changes, select \uicontrol {Apply configuration changes}. This will
    trigger a \c {meson configure} command if there were any configuration
    changes. If for any reason the build directory configuration is broken,
    select \uicontrol {Wipe project}. This should fix any build directory.

    \note Any modified setting will remain in bold until \uicontrol
    {Apply configuration changes} is selected.

//! [meson build configuration]


//! [meson build steps]

    \section2 Meson Build Steps

    \QC builds Meson projects by running \c {ninja -v target}.

    You can add arguments and targets for the build command in
    \uicontrol {Build Steps}.

    \image qtcreator-meson-build-steps.png

    The build errors and warnings are parsed and displayed in the
    \uicontrol Issues output pane.

//! [meson build steps]

//! [meson clean steps]

    \section2 Meson Clean Steps

    When building with Meson, you can add arguments and targets for the clean
    command in \uicontrol {Clean Steps}.

    \image qtcreator-meson-clean-steps.png

    The build errors and warnings are parsed and displayed in the
    \uicontrol Issues output pane.

//! [meson clean steps]
*/