-
Notifications
You must be signed in to change notification settings - Fork 1
/
RobloxStudio-DiscordRPC.pro
76 lines (51 loc) · 2.08 KB
/
RobloxStudio-DiscordRPC.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
63
64
65
66
67
68
69
70
71
72
73
74
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# QttpServer
#CONFIG += debug libraries/QttpServer/qttpserver.pro
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
## discord game sdk (auto-generated by qt creator)
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libs/discord_game_sdk/lib/ -ldiscord_game_sdk
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libs/discord_game_sdk/lib/ -ldiscord_game_sdk
else:unix: LIBS += -L$$PWD/libs/discord_game_sdk/lib/ -ldiscord_game_sdk
INCLUDEPATH += $$PWD/libs/discord_game_sdk/cpp
DEPENDPATH += $$PWD/libs/discord_game_sdk/cpp
SOURCES += $$files(*.cpp, true)
#SOURCES -= $$files(libs/*, true)
HEADERS += $$files(*.h, true)
HEADERS -= $$files(libs/*, true)
FORMS = $$files(*.ui, true)
UI_DIR = ./interface
# Program resources/metadata
VERSION = 1.0.0.4
RESOURCES = assets/assets.qrc
RC_ICONS = assets/app.ico
QMAKE_TARGET_COMPANY = MatusGuy
QMAKE_TARGET_DESCRIPTION = $$quote(Discord rich presence for Roblox Studio)
QMAKE_TARGET_COPYRIGHT = $$quote( © 2022-2023 MatusGuy)
QMAKE_TARGET_PRODUCT = $$quote(Roblox Studio Discord RPC)
QMAKE_TARGET_ORIGINAL_FILENAME = RobloxStudio-DiscordRPC.exe
QMAKE_TARGET_INTERNALNAME = RSDRPC
# Ability to access version in source code
DEFINES += __VERSION__=$$quote(\\\"$${VERSION}\\\")
# libraries
## shell32
win32:LIBS +=
-L$$quote(C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64)
-lshell32
win32:LIBS +=
-L$$quote(C:/Program Files (x86)/Windows Kits/10/Lib/10.0.19041.0/um/x64)
-lOle32
## OPENSSL
win32:OPENSSL = $$PWD/libs/openssl
LIBS += -L$$OPENSSL/lib -llibcrypto
LIBS += -L$$OPENSSL/lib -llibssl
INCLUDEPATH += $$OPENSSL/include/
## httplib and possibly others
INCLUDEPATH += libs/
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target