-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake5.lua
More file actions
35 lines (33 loc) · 852 Bytes
/
premake5.lua
File metadata and controls
35 lines (33 loc) · 852 Bytes
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
workspace "PEngine"
language "C++"
cppdialect "C++17"
architecture "x64"
configurations
{
"Debug",
"Release",
"Dist"
}
defines
{
"PENGINE_VULKAN",
"GLM_FORCE_DEPTH_ZERO_TO_ONE",
"GLM_FORCE_LEFT_HANDED",
}
thirdparty = "%{wks.location}/project/thirdparty"
assetsdir = "%{wks.location}/assets"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
startproject "Editor"
include "project/src/pengine"
include "project/src/editor"
include "project/shader"
group "ThirdParty"
include "project/thirdparty/GLFW"
include "project/thirdparty/Glad"
include "project/thirdparty/spdlog"
include "project/thirdparty/volk"
include "project/thirdparty/VulkanSDK"
include "project/thirdparty/openFBX"
include "project/thirdparty/SPIRV-Cross"
include "project/thirdparty/tracy"
include "project/thirdparty/meshoptimizer"