Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
carlou33 committed Jul 25, 2016
1 parent 310c792 commit 7e512c8
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 0 deletions.
64 changes: 64 additions & 0 deletions MAKE-SERVER/be-server.pro
Original file line number Diff line number Diff line change
@@ -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
57 changes: 57 additions & 0 deletions MAKE-SERVER/be-server.udoo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7e512c8

Please sign in to comment.