Skip to content

Commit

Permalink
Set the C++ standards using qmake CONFIGs. (#10534)
Browse files Browse the repository at this point in the history
  - If these are not specified using the CONFIG setting qmake will add
    its own standard options, on EL7 for example, it adds `-std=gnu++11`
  • Loading branch information
mahge committed Apr 12, 2023
1 parent 78fcfd6 commit 930eb48
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OMEdit/OMEditGUI/OMEditGUI.pro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport widgets webkitwidgets concurrent
}

# Set the C++ standard.
CONFIG += c++14

TARGET = OMEdit
TEMPLATE = app

Expand Down
1 change: 1 addition & 0 deletions OMEdit/OMEditLIB/OMEditLIB.pro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport widgets webkitwidgets concurrent
}

# Set the C++ standard.
CONFIG += c++14

TARGET = OMEdit
Expand Down
3 changes: 3 additions & 0 deletions OMNotebook/OMNotebook/OMNotebookGUI/OMNotebookGUI.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT *= printsupport widgets webkitwidgets
}

# Set the C++ standard.
CONFIG += c++14

TRANSLATIONS = Resources/nls/OMNotebook_de_DE.ts

TARGET = OMNotebook
Expand Down
3 changes: 3 additions & 0 deletions OMPlot/OMPlot/OMPlotGUI/OMPlotGUI.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT *= printsupport widgets
}

# Set the C++ standard.
CONFIG += c++14

TARGET = OMPlot
TEMPLATE = app
CONFIG += console
Expand Down
3 changes: 3 additions & 0 deletions OMPlot/OMPlot/OMPlotGUI/OMPlotLib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT *= printsupport widgets
}

# Set the C++ standard.
CONFIG += c++14

TARGET = OMPlot
TEMPLATE = lib

Expand Down
3 changes: 3 additions & 0 deletions OMShell/OMShell/OMShellGUI/OMShellGUI.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ greaterThan(QT_MAJOR_VERSION, 4) {
QT *= printsupport widgets webkitwidgets
}

# Set the C++ standard.
CONFIG += c++14

TRANSLATIONS = \
OMShell_de.ts \
OMShell_sv.ts
Expand Down

0 comments on commit 930eb48

Please sign in to comment.