-
Notifications
You must be signed in to change notification settings - Fork 0
/
VRPNServer.pro
54 lines (45 loc) · 1.57 KB
/
VRPNServer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
QT += core gui widgets sensors network
TARGET = VRPNServer
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += c++11
win32 {
# Windows wants to compile .C files as if they were .c files, as C.
# Force the Visual Studio compiler to build as C++ for the VRPN files.
QMAKE_CFLAGS += /TP
# Turn off UNICODE on Windows so we can compile the VRPN files.
DEFINES -= UNICODE
}
# Pull source files directly from VRPN so we don't need to separately
# compile the library.
#INCLUDEPATH += C:/usr/local/include
#INCLUDEPATH += /usr/local/include
#LIBS += -L"C:/usr/local/lib" -L"/usr/local/lib" -lvrpnserver
INCLUDEPATH += $$PWD/vrpn
SOURCES += \
vrpn/vrpn_Connection.C \
vrpn/vrpn_FileConnection.C \
vrpn/vrpn_Analog.C \
vrpn/vrpn_Button.C \
vrpn/vrpn_BaseClass.C \
vrpn/vrpn_Shared.C \
vrpn/vrpn_Thread.C \
vrpn/vrpn_EndpointContainer.C \
vrpn/vrpn_Serial.C
SOURCES += \
# GeneralOpenGLWidget.cpp \
main.cpp \
mainwindow.cpp
HEADERS += \
# GeneralOpenGLWidget.h \
mainwindow.h
FORMS += \
mainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target