Keep retroshare.pri tidy

This commit is contained in:
Gioacchino Mazzurco 2019-02-04 14:49:09 +01:00
parent fb005f0419
commit 04db4b0f24
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051

View file

@ -165,6 +165,11 @@ rs_jsonapi:CONFIG -= no_rs_jsonapi
CONFIG *= no_rs_deep_search CONFIG *= no_rs_deep_search
rs_deep_search:CONFIG -= no_rs_deep_search rs_deep_search:CONFIG -= no_rs_deep_search
# To enable native dialogs append the following assignation to qmake command
#line "CONFIG+=rs_use_native_dialogs"
CONFIG *= no_rs_use_native_dialogs
rs_use_native_dialogs:CONFIG -= no_rs_use_native_dialogs
# Specify host precompiled jsonapi-generator path, appending the following # Specify host precompiled jsonapi-generator path, appending the following
# assignation to qmake command line # assignation to qmake command line
# 'JSONAPI_GENERATOR_EXE=/myBuildDir/jsonapi-generator'. Required for JSON API # 'JSONAPI_GENERATOR_EXE=/myBuildDir/jsonapi-generator'. Required for JSON API
@ -187,10 +192,6 @@ rs_deep_search:CONFIG -= no_rs_deep_search
# assignation to qmake command line 'RS_EXTRA_VERSION=""' # assignation to qmake command line 'RS_EXTRA_VERSION=""'
#RS_EXTRA_VERSION=git #RS_EXTRA_VERSION=git
# To enable native dialogs append the following assignation to qmake command line
# "CONFIG+=rs_use_native_dialogs"
rs_use_native_dialogs:DEFINES *= RS_NATIVEDIALOGS
########################################################################################################################################################### ###########################################################################################################################################################
# #
# V07_NON_BACKWARD_COMPATIBLE_CHANGE_001: # V07_NON_BACKWARD_COMPATIBLE_CHANGE_001:
@ -477,6 +478,8 @@ rs_deep_search {
} }
} }
rs_use_native_dialogs:DEFINES *= RS_NATIVEDIALOGS
debug { debug {
QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
QMAKE_CFLAGS -= -O2 -fomit-frame-pointer QMAKE_CFLAGS -= -O2 -fomit-frame-pointer