Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
vifactor committed Jul 21, 2024
1 parent 4fed94b commit 7e85ee4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BuildDltViewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += qdlt src plugin commander
CONFIG += c++17
CONFIG += c++1z

ICON = Project.icns
QMAKE_INFO_PLIST = Info.plist
Expand Down
4 changes: 2 additions & 2 deletions qdlt/qdlt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
PROJECT = qdlt
TEMPLATE = lib

CONFIG += c++17
CONFIG += c++1z
DEFINES += QDLT_LIBRARY
*-gcc* {
QMAKE_CFLAGS += -std=gnu99
Expand All @@ -11,7 +11,7 @@ DEFINES += QDLT_LIBRARY
}

*-g++* {
#QMAKE_CXXFLAGS += -std=gnu++0x
QMAKE_CXXFLAGS += -std=c++17
QMAKE_CXXFLAGS += -Wall
QMAKE_CXXFLAGS += -Wextra
QMAKE_CXXFLAGS += -DPLUGIN_INSTALLATION_PATH=\\\"$$PREFIX/usr/share/dlt-viewer/plugins\\\"
Expand Down
3 changes: 2 additions & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ QT_VERSION = $$split(QT_VERSION, ".")
QT_VER_MAJ = $$member(QT_VERSION, 0)
QT_VER_MIN = $$member(QT_VERSION, 1)

CONFIG += c++1z
*-gcc* {
QMAKE_CFLAGS += -std=gnu99
QMAKE_CFLAGS += -Wall
Expand All @@ -12,7 +13,7 @@ QT_VER_MIN = $$member(QT_VERSION, 1)
}

*-g++* {
#QMAKE_CXXFLAGS += -std=gnu++0x
QMAKE_CXXFLAGS += -std=c++17
QMAKE_CXXFLAGS += -Wall
QMAKE_CXXFLAGS += -Wextra
#QMAKE_CXXFLAGS += -pedantic
Expand Down

0 comments on commit 7e85ee4

Please sign in to comment.