-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
28 lines (22 loc) · 819 Bytes
/
premake5.lua
File metadata and controls
28 lines (22 loc) · 819 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
workspace "LibYAML"
configurations {"Debug", "Release"}
platforms {"env_edk2", "env_c", }
defaultplatform("env_c")
location ("%{_WORKING_DIR}/output/build")
objdir("%{_WORKING_DIR}/output/lib/%{cfg.buildcfg}_%{cfg.platform}/%{prj.name}")
targetdir("%{_WORKING_DIR}/output/bin/%{cfg.buildcfg}_%{cfg.platform}/%{prj.name}")
defines {"YAML_VERSION_STRING=\"0.0.0\""}
defines {"YAML_VERSION_MAJOR=0"}
defines {"YAML_VERSION_MINOR=0"}
defines {"YAML_VERSION_PATCH=0"}
filter "configurations:Debug"
defines {"DEBUG"}
symbols "On"
filter "configurations:Release"
defines {"NDEBUG"}
optimize "On"
filter {}
include "LibYAML"
include "consumer/SystemBootConfig"
include "App/c"
links {"LibYAML", "App", "SystemBootConfig"}