generated from Gaztin/Foundation
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpremake5.lua
65 lines (57 loc) · 1.12 KB
/
premake5.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
require 'premake/premake-geno'
require 'premake/app'
require 'premake/customizations'
require 'premake/defaults'
require 'premake/library'
require 'premake/options'
require 'premake/target'
require 'premake/third_party_library'
require 'premake/utils'
workspace( 'Geno' )
platforms( utils.get_platform() )
configurations { 'Debug', 'Release' }
startproject( 'Geno' )
third_party_library 'glew'
third_party_library 'glfw'
third_party_library 'imgui'
third_party_library 'discordrpc'
library 'Common'
sysincludedirs {
'third_party/glew/include',
}
library 'GCL'
app( 'Geno' )
sysincludedirs {
'third_party/glew/include',
'third_party/glfw-fork/include',
'third_party/imgui',
'third_party/stb',
'third_party/rapidjson/include',
'third_party/discord-rpc/include',
}
filter 'system:windows'
links {
'shell32',
'gdi32',
'opengl32',
'dwmapi',
'advapi32',
}
filter 'system:linux'
links {
'stdc++fs',
'pthread',
'dl',
'GL',
'X11',
}
filter 'system:macosx'
files {
"data",
}
links {
'CoreGraphics.framework',
'IOKit.framework',
'AppKit.framework',
'OpenGL.framework',
}