From 7e512c84df3f4d5c080ad22bec1b937340e93e87 Mon Sep 17 00:00:00 2001 From: carlou Date: Mon, 25 Jul 2016 10:20:48 +0200 Subject: [PATCH] Fixed warnings --- MAKE-SERVER/be-server.pro | 64 ++++++++++++++++++++++++++++++++++++++ MAKE-SERVER/be-server.udoo | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 MAKE-SERVER/be-server.pro create mode 100644 MAKE-SERVER/be-server.udoo diff --git a/MAKE-SERVER/be-server.pro b/MAKE-SERVER/be-server.pro new file mode 100644 index 0000000..8ada157 --- /dev/null +++ b/MAKE-SERVER/be-server.pro @@ -0,0 +1,64 @@ +QT += core gui serialport + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport + +TARGET = be-server +TEMPLATE = app + +QMAKE_CXXFLAGS += -std=c++1y + +QMAKE_CXXFLAGS_RELEASE -= -O2 +QMAKE_CXXFLAGS_RELEASE += -Ofast -march=armv6 -flto -fopenmp +QMAKE_LFLAGS_RELEASE -= -Wl,-O1 +QMAKE_LFLAGS_RELEASE += -Wl,-O3 -Wl,-flto + +QMAKE_CXXFLAGS_DEBUG -= -O1 +QMAKE_CXXFLAGS_DEBUG -= -O2 +QMAKE_CXXFLAGS_DEBUG += -O0 -Wno-unknown-pragmas + +SOURCES += main.cpp\ + Server.cpp \ + Track.cpp \ + PlayThread.cpp \ + SaveManager.cpp \ + SerialManager.cpp + +HEADERS += Server.h \ + Track.h \ + PlayThread.h \ + SongData.h \ + SaveManager.h \ + SerialManager.h + +FORMS += + +INCLUDEPATH += $$PWD/../deps/libwatermark +DEPENDPATH += $$PWD/../deps/libwatermark + +INCLUDEPATH += /usr/include/oscpack/ /home/pi/boiteselec-interfaceqt/deps/rtaudio-4.1.2/ + + +LIBS+= -lgomp -lsndfile +LIBS+= -lrtaudio +LIBS+= -lasound +LIBS+= -loscpack +LIBS+= -lwiringPi + +LIBS+= -L$$PWD/../deps/karchive-5.17.0/src -L$$PWD/../deps/karchive-5.17.0/build/src -lKF5Archive +INCLUDEPATH += $$PWD/../deps/karchive-5.17.0/src $$PWD/../deps/karchive-5.17.0/build/src +DEPENDPATH += $$PWD/../deps/karchive-5.17.0/src $$PWD/../deps/karchive-5.17.0/build/src +PRE_TARGETDEPS += $$PWD/../deps/karchive-5.17.0/build/src/libKF5Archive.so.5 + +RESOURCES += + +OTHER_FILES += + + +#### Libraries #### + ## Oscpack ## +# unix:!macx: LIBS += -L$$PWD/../../../git/oscpack/build/ -loscpack + +# INCLUDEPATH += $$PWD/../../../git/oscpack/src +# DEPENDPATH += $$PWD/../../../git/oscpack/src + +#unix:!macx: PRE_TARGETDEPS += $$PWD/../../../git/oscpack/build/liboscpack.a diff --git a/MAKE-SERVER/be-server.udoo b/MAKE-SERVER/be-server.udoo new file mode 100644 index 0000000..5a49b29 --- /dev/null +++ b/MAKE-SERVER/be-server.udoo @@ -0,0 +1,57 @@ +QT += core gui serialport + +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport + +TARGET = be-server +TEMPLATE = app + +QMAKE_CXXFLAGS += -std=c++1y + +QMAKE_CXXFLAGS_RELEASE -= -O2 +QMAKE_CXXFLAGS_RELEASE += -Ofast -march=native -flto -fopenmp +QMAKE_LFLAGS_RELEASE -= -Wl,-O1 +QMAKE_LFLAGS_RELEASE += -Wl,-O3 -Wl,-flto + +QMAKE_CXXFLAGS_DEBUG -= -O1 +QMAKE_CXXFLAGS_DEBUG -= -O2 +QMAKE_CXXFLAGS_DEBUG += -O0 -Wno-unknown-pragmas + +SOURCES += main.cpp\ + Server.cpp \ + Track.cpp \ + PlayThread.cpp \ + SaveManager.cpp \ + SerialManager.cpp + +HEADERS += Server.h \ + Track.h \ + PlayThread.h \ + SongData.h \ + SaveManager.h \ + SerialManager.h + +FORMS += + +INCLUDEPATH += $$PWD/../../watermarking/src/libwatermark +DEPENDPATH += $$PWD/../../watermarking/src/libwatermark + +LIBS+= -lgomp -lsndfile -lrtaudio # -lavcodec -lavformat -lavutil +#LIBS+= -lgcov + + +INCLUDEPATH += /usr/local/include/KF5/KArchive +LIBS += -lKF5Archive + +RESOURCES += + +OTHER_FILES += + + +#### Libraries #### + ## Oscpack ## +unix:!macx: LIBS += -L$$PWD/../../../git/oscpack/build/ -loscpack + +INCLUDEPATH += $$PWD/../../../git/oscpack/src +DEPENDPATH += $$PWD/../../../git/oscpack/src + +unix:!macx: PRE_TARGETDEPS += $$PWD/../../../git/oscpack/build/liboscpack.a