-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuild.lua
37 lines (31 loc) · 977 Bytes
/
Build.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
workspace "Lucky" -- 解决方案名称
architecture "x64" -- 体系结构
startproject "LuckyEditor" -- 启动项目 TODO 无法设置成功
configurations -- 配置
{
"Debug",
"Release",
"Dist"
}
flags
{
"MultiProcessorCompile"
}
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" -- 输出目录
-- 依赖
group "Dependencies"
include "Lucky/Vendor/Box2D" -- 包含 Box2D 目录
include "Lucky/Vendor/GLFW" -- 包含 GLFW 目录
include "Lucky/Vendor/GLAD" -- 包含 GLAD 目录
include "Lucky/Vendor/imgui" -- 包含 imgui 目录
include "Lucky/Vendor/yaml-cpp"
group ""
include "Dependencies.lua"
-- TODO 修改
group "Core"
include "Lucky/Build-Lucky.lua"
include "Lucky-ScriptCore/Build-Lucky-ScriptCore.lua"
group ""
group "Tools"
include "LuckyEditor/Build-LuckyEditor.lua"
group ""