Add globaldefs.pri for setting qmake values in each project

This commit is contained in:
Cameron Gutman
2019-04-21 11:08:33 -07:00
parent dba479774b
commit 67b0907e52
7 changed files with 41 additions and 41 deletions

View File

@@ -10,18 +10,15 @@ QT -= core gui
TARGET = h264bitstream
TEMPLATE = lib
# Support debug and release builds from command line for CI
CONFIG += debug_and_release
# Ensure symbols are always generated
CONFIG += force_debug_info
# Build a static library
CONFIG += staticlib
# Disable warnings
CONFIG += warn_off
# Include global qmake defs
include(../globaldefs.pri)
# Older GCC versions defaulted to GNU89
*-g++ {
QMAKE_CFLAGS += -std=gnu99