forked from Geno-IDE/Geno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiscordrpc.lua
69 lines (53 loc) · 1.24 KB
/
discordrpc.lua
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
return function()
sysincludedirs {
'third_party/rapidjson/include',
}
includedirs {
'third_party/discord-rpc/include/',
}
files {
'third_party/discord-rpc/src/**.cpp',
}
removefiles {
'third_party/discord-rpc/src/dllmain.cpp',
}
filter 'system:macosx'
files {
'third_party/discord-rpc/src/**.m',
}
removefiles {
'third_party/discord-rpc/src/connection_win.cpp',
'third_party/discord-rpc/src/discord_register_linux.cpp',
'third_party/discord-rpc/src/discord_register_win.cpp',
}
defines {
'_DISCORD_MACOSX',
}
filter 'system:unix'
defines {
'_DISCORD_UNIX',
}
removefiles {
'third_party/discord-rpc/src/**.m',
'third_party/discord-rpc/src/connection_win.cpp',
'third_party/discord-rpc/src/discord_register_win.cpp',
}
filter 'system:linux'
defines {
'_DISCORD_LINUX',
}
removefiles {
'third_party/discord-rpc/src/**.m',
'third_party/discord-rpc/src/connection_win.cpp',
'third_party/discord-rpc/src/discord_register_win.cpp',
}
filter 'system:windows'
defines {
'_DISCORD_WINDOWS',
}
removefiles {
'third_party/discord-rpc/src/**.m',
'third_party/discord-rpc/src/connection_unix.cpp',
'third_party/discord-rpc/src/discord_register_linux.cpp',
}
end