-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathSimpleRemoteDesktop.pro
62 lines (50 loc) · 1.35 KB
/
SimpleRemoteDesktop.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
55
56
57
58
59
60
61
62
#-------------------------------------------------
#
# Project created by QtCreator 2019-10-21T16:01:56
#
#-------------------------------------------------
QT += core gui widgets network websockets
TARGET = SimpleRemoteDesktop
TEMPLATE = app
QMAKE_LFLAGS += -no-pie
QMAKE_CXXFLAGS_RELEASE += -O3
RC_FILE = src/res/icon.rc
#QMAKE_LFLAGS_RELEASE += -static -static-libgcc
CONFIG += c++17
INCLUDEPATH += src
SOURCES += \
src/infowidget.cpp \
src/serverhttp.cpp \
src/graberclass.cpp \
src/inputsimulator.cpp \
src/websockettransfer.cpp \
src/remotedesktopuniting.cpp \
src/websockethandler.cpp
HEADERS += \
src/infowidget.h \
src/serverhttp.h \
src/graberclass.h \
src/inputsimulator.h \
src/websockettransfer.h \
src/remotedesktopuniting.h \
src/websockethandler.h
RESOURCES += \
src/res.qrc
linux-g++: \
LIBS += -lX11 -lXtst
# === build parameters ===
win32: OS_SUFFIX = win32
linux-g++: OS_SUFFIX = linux
CONFIG(debug, debug|release) {
BUILD_FLAG = debug
LIB_SUFFIX = d
} else {
BUILD_FLAG = release
}
RCC_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_HEADERS_DIR = $${PWD}/build/$${BUILD_FLAG}
UI_SOURCES_DIR = $${PWD}/build/$${BUILD_FLAG}
MOC_DIR = $${PWD}/build/$${BUILD_FLAG}
OBJECTS_DIR = $${PWD}/build/$${BUILD_FLAG}
DESTDIR = $${PWD}/bin/$${BUILD_FLAG}