-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
91 lines (73 loc) · 1.98 KB
/
premake5.lua
File metadata and controls
91 lines (73 loc) · 1.98 KB
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
workspace "TBA"
configurations {
"Debug",
"Release"
}
startproject "Editor"
architecture "x64"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "ImGui"
kind "StaticLib"
language "C++"
cppdialect "C++20"
staticruntime "on"
systemversion "latest"
location "vendor/imgui"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files {
"vendor/imgui/imconfig.h",
"vendor/imgui/imgui.cpp",
"vendor/imgui/imgui_demo.cpp",
"vendor/imgui/imgui_draw.cpp",
"vendor/imgui/imgui.h",
"vendor/imgui/imgui_internal.h",
"vendor/imgui/imgui_tables.cpp",
"vendor/imgui/imgui_widgets.cpp",
"vendor/imgui/imstb_rectpack.h",
"vendor/imgui/imstb_textedit.h",
"vendor/imgui/imstb_truetype.h",
"vendor/rlImGui/rlImGui.cpp",
"vendor/rlImGui/rlImGui.h",
"vendor/rlImGui/imgui_impl_raylib.h",
}
includedirs {
"vendor/imgui",
"vendor/rlImGui",
"vendor/raylib/include"
}
filter "configurations:Debug"
runtime "Debug"
symbols "On"
filter "configurations:Release"
runtime "Release"
optimize "On"
project "YAML-CPP"
kind "StaticLib"
language "C++"
cppdialect "C++20"
staticruntime "on"
systemversion "latest"
location "vendor/yml-cpp"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
files {
"vendor/yml-cpp/src/**.h",
"vendor/yml-cpp/src/**.cpp"
}
includedirs {
"vendor/yml-cpp/include",
"vendor/yml-cpp/src"
}
defines {
"YAML_CPP_STATIC_DEFINE"
}
filter "configurations:Debug"
runtime "Debug"
symbols "On"
filter "configurations:Release"
runtime "Release"
optimize "On"
include "Core"
include "Editor"
include "Simulation"