This repository has been archived by the owner on Jan 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
105 lines (84 loc) · 2.31 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
include "neon-config.lua"
include "neon-functions.lua"
workspace "Neon"
architecture "x64"
startproject "NeonEditor"
configurations
{
"Debug", -- Edit and continue
"Release", -- Optimized + Asan
"ReleaseOpt", -- Optimized + symbols
"Dist" -- Optimized + No symbols
}
flags
{
"MultiProcessorCompile"
}
defines "NOMINMAX"
filter { "system:windows" }
systemversion "latest"
defines "_WIN32"
defines "WIN32"
defines "NEON_PLATFORM_WINDOWS"
filter {}
filter { "configurations:Debug" }
defines "NEON_DEBUG"
runtime "Debug"
symbols "On"
editAndContinue "On"
filter {}
filter { "configurations:Release" }
defines "NEON_RELEASE"
runtime "Release"
symbols "On"
optimize "On"
sanitize
{
"Address"
}
filter {}
filter { "configurations:ReleaseOpt" }
defines "NEON_RELEASE"
runtime "Release"
symbols "On"
optimize "On"
filter {}
filter { "configurations:Dist" }
defines "NEON_DIST"
runtime "Release"
optimize "On"
symbols "Off"
filter {}
group "Dependencies/ECS"
include "Deps/Externals/flecs"
group "Dependencies/Logging"
include "Deps/Externals/spdlog"
group "Dependencies/UI"
include "Deps/Externals/ImGui"
include "Deps/Externals/ImGuiNodeEditor"
include "Deps/Externals/glfw"
group "Dependencies/Bullet3"
include "Deps/Externals/Bullet3/src"
group "Dependencies/Audio"
include "Deps/Externals/libogg-1.3.0"
include "Deps/Externals/vorbis"
group "Dependencies/Other"
include "Deps/Externals/ZipLib"
group "Neon"
include "Neon/ScriptCore"
include "Neon/Core"
include "Neon/Coroutines"
include "Neon/Resource"
include "Neon/Windowing"
include "Neon/Graphics"
include "Neon/Engine"
group ""
group "Neon/Tools"
-- include "Neon/Tools/pakc"
group ""
group "Samples"
-- include "Samples/BasicAsset"
-- include "Samples/HelloWorld"
-- include "Samples/FlappyBirdClone"
include "Samples/CSharpTemplate"
group ""