-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
80 lines (62 loc) · 1.91 KB
/
premake5.lua
File metadata and controls
80 lines (62 loc) · 1.91 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
workspace "BehaviorTreeProject"
architecture "x64"
configurations { "Debug", "Release" }
startproject "BehaviorTreeProject"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "BehaviorTreeProject"
kind "ConsoleApp"
language "C++"
cppdialect "C++20"
staticruntime "off"
targetdir ("bin/%{cfg.buildcfg}")
objdir ("bin-int/%{cfg.buildcfg}")
files {
"src/**.h",
"src/**.hpp",
"src/**.cpp",
"libs/glad/src/glad.c",
"libs/imgui/imgui.cpp",
"libs/imgui/imgui.h",
"libs/imgui/imgui_draw.cpp",
"libs/imgui/imgui_widgets.cpp",
"libs/imgui/imgui_tables.cpp",
"libs/imgui/imgui_demo.cpp",
"libs/imgui/backends/imgui_impl_glfw.cpp",
"libs/imgui/backends/imgui_impl_opengl3.cpp",
"libs/imgui-node-editor/crude_json.cpp",
"libs/imgui-node-editor/imgui_canvas.cpp",
"libs/imgui-node-editor/imgui_node_editor.cpp",
"libs/imgui-node-editor/imgui_node_editor_api.cpp",
"libs/yaml-cpp/include/**.h"
}
includedirs {
"src",
"src/BehaviorTreeThings",
"src/BehaviorTreeThings/Core",
"src/BehaviorTreeThings/CustomThings",
"libs/glad/include",
"libs/glfw-3.4.bin.WIN64/include",
"libs/imgui",
"libs/imgui/backends",
"libs/imgui-node-editor",
"libs/yaml-cpp/include"
}
libdirs {
"libs/glfw-3.4.bin.WIN64/lib-vc2022",
"bin/" .. outputdir .. "/yaml-cpp"
}
links {
"glfw3",
"opengl32",
"yaml-cpp"
}
defines { "YAML_CPP_STATIC_DEFINE" }
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
include "libs/yaml-cpp"