* Added Clang-related flag to gui.pro

* Updated external lib location with PWD variable
This commit is contained in:
Samir Aguiar 2015-01-20 19:20:00 +01:00 committed by Daniel Marjamäki
parent ec21134817
commit 141a071792
2 changed files with 8 additions and 2 deletions

View File

@ -15,7 +15,7 @@ contains(LINKCORE, [yY][eE][sS]) {
LIBS += -l../bin/cppcheck-core LIBS += -l../bin/cppcheck-core
DEFINES += CPPCHECKLIB_IMPORT DEFINES += CPPCHECKLIB_IMPORT
} }
LIBS += -L../externals LIBS += -L$$PWD/../externals
DESTDIR = . DESTDIR = .
RCC_DIR = temp RCC_DIR = temp
@ -149,3 +149,9 @@ win32 {
contains(QMAKE_CC, gcc) { contains(QMAKE_CC, gcc) {
QMAKE_CXXFLAGS += -std=c++0x QMAKE_CXXFLAGS += -std=c++0x
} }
macx {
contains(QMAKE_CXX, clang++) {
QMAKE_CXXFLAGS += -std=c++11
}
}