Add dev CONFIG option for qmake file

Enables back all the missing warnings, notably JS syntax errors
This commit is contained in:
miruka 2019-07-04 15:12:39 -04:00
parent c27480d395
commit 990770dd38
5 changed files with 6 additions and 1059 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ build
dist
.qmake.stash
Makefile
harmonyqml

1057
Makefile

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,7 +1,10 @@
TEMPLATE = app
QT = quick
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += release warn_off c++11
CONFIG += warn_off c++11 release
dev {
CONFIG += debug
}
BUILD_DIR = build
MOC_DIR = $$BUILD_DIR/moc

View File

@ -7,4 +7,4 @@
find src harmonyqml.pro -type f |
entr -cdnr sh -c \
'qmake CONFIG+=no_embedded && make && ./harmonyqml --debug'
'qmake CONFIG="dev no_embedded" && make && ./harmonyqml --debug'