YoggieEngine/premake5.lua

79 lines
1.1 KiB
Lua
Raw Normal View History

workspace "BarinkEngine"
2021-09-29 18:14:27 +00:00
configurations { "Debug", "Test", "Release" }
language "C++"
cppdialect "C++17"
targetdir "./build/%{prj.name}/%{cfg.buildcfg}"
objdir "./intermediates/%{prj.name}/%{cfg.buildcfg}"
2021-09-29 18:14:27 +00:00
project "SandboxApplication"
kind "ConsoleApp"
buildmessage "Building BarinkEngineSandbox ..."
2021-09-29 18:14:27 +00:00
includedirs {
"./MyGraphicsEngine/include"
2021-09-29 18:14:27 +00:00
}
libdirs{
"./libs/spdlog-1.9.1/build"
}
links{
"spdlog",
"glfw3",
"X11",
"GL",
"GLU",
"pthread",
"dl",
"m",
"MyGraphicsEngine"
2021-09-29 18:14:27 +00:00
}
2021-09-29 18:14:27 +00:00
files {
"SandboxApplication/*.cpp"
2021-09-29 18:14:27 +00:00
}
2021-09-29 18:14:27 +00:00
project "MyGraphicsEngine"
kind "StaticLib"
buildmessage "Building MyGraphicsEngine ..."
2021-09-29 18:14:27 +00:00
includedirs {
"./libs/glfw-3.3.4/include",
"./libs/spdlog-1.9.1/include",
"./MyGraphicsEngine/include"
2021-09-29 18:14:27 +00:00
}
2021-09-29 18:14:27 +00:00
libdirs{
"./libs/spdlog-1.9.1/build"
2021-09-29 18:14:27 +00:00
}
2021-09-29 18:14:27 +00:00
links {
"libspdlog",
2021-09-29 18:14:27 +00:00
"glfw3",
"X11",
"GL",
"GLU",
"pthread",
"dl",
"m"
}
files {"MyGraphicsEngine/*.cpp"}
2021-09-29 18:14:27 +00:00
filter "configurations:Debug"
defines {"DEBUG"}
symbols "On"
filter "configurations:Release"
defines {"NDEBUG"}
optimize "On"