aboutsummaryrefslogtreecommitdiffstats
path: root/viper.pro
diff options
context:
space:
mode:
authormanang <angelo.mantellini@cisco.com>2020-02-19 10:50:11 +0100
committermanang <angelo.mantellini@cisco.com>2020-02-20 10:44:06 +0100
commit882df3c37dc5207dcf727e7d00dcbe79a518957e (patch)
treedd27778cf4932690afc0c947b9044475e0ef0b79 /viper.pro
parent94cccc7a047c871103785b295d4e5c4df58f4f74 (diff)
[CICN-29] Build viper against hicn on fdio
Signed-off-by: manang <angelo.mantellini@cisco.com> Change-Id: Ibeca86a031eb67fd753a5f142e6f6fb601be66a4
Diffstat (limited to 'viper.pro')
-rw-r--r--viper.pro18
1 files changed, 16 insertions, 2 deletions
diff --git a/viper.pro b/viper.pro
index f7c056c9..5b599b30 100644
--- a/viper.pro
+++ b/viper.pro
@@ -11,7 +11,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-TARGET = viper
+equals(TRANSPORT_LIBRARY, "HICNET") {
+ TARGET = hicn-viper
+} else {
+ TARGET = viper
+}
+
VERSION = $$QTAV_VERSION
QT += av svg qml quick sql core gui opengl multimedia charts
android {
@@ -21,7 +26,16 @@ android {
CONFIG -= release
CONFIG += debug
CONFIG += c++14
-QMAKE_CXXFLAGS += -std=c++14 -g -fpermissive -DASIO_STANDALONE=1 -stdlib=libc++ -DQTC_ENABLE_CLANG_LIBTOOLING=ON
+QMAKE_CXXFLAGS += -std=c++14 -g -fpermissive -DASIO_STANDALONE=1
+equals(QMAKE_CXX, clang++) {
+ QMAKE_CXXFLAGS += -stdlib=libc++ -DQTC_ENABLE_CLANG_LIBTOOLING=ON
+}
+
+linux-g++ {
+ GCC_VERSION = $$system("g++ -dumpversion")
+ INCLUDEPATH += /usr/include/c++/$$GCC_VERSION
+}
+
# Add more folders to ship with the application, here
folder_01.source = qml/Viper
folder_01.target = qml