Skip to content

Commit

Permalink
Fix some build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Mar 23, 2023
1 parent e34d004 commit eb3bf43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Common.prf
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ CONFIG(debug, debug|release) {
# O3 = highest optimization level for speed
CONFIG(debug, debug|release) {
#QMAKE_CXXFLAGS += -Og
QMAKE_CXXFLAGS += -v -Wa,-mbig-obj
}
CONFIG(release, debug|release) {
QMAKE_CXXFLAGS += -O3
QMAKE_CXXFLAGS += -O3 -v -Wa,-mbig-obj
}
message("QMAKE_CXXFLAGS: $${QMAKE_CXXFLAGS}")

# Enable C++14
CONFIG += c++14
Expand Down
4 changes: 3 additions & 1 deletion hopsandcp/hopsandcp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ DESTDIR = $${PWD}/../bin
TARGET = $${TARGET}$${DEBUG_EXT}
DEFINES += LOGGING
#DEFINES += DEBUG
QMAKE_CXXFLAGS = -Wno-comment -Wno-switch -Wno-ignored-qualifiers -Wno-sign-compare
QMAKE_CXXFLAGS += -Wno-comment -Wno-switch -Wno-ignored-qualifiers -Wno-sign-compare

QT -= core gui

LIBS *= -lws2_32

#--------------------------------------------------
# Add the include path to our self, (hopsandcp)
INCLUDEPATH *= $${PWD}/include/
Expand Down

0 comments on commit eb3bf43

Please sign in to comment.