diff --git a/.gitignore b/.gitignore index 492079c..8b9c541 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ bin/ bin-int/ +**/vendor .vscode/ .vs/ **.sln diff --git a/bakarengine/bakara.h b/bakarengine/bakara.h deleted file mode 100644 index e69de29..0000000 diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 0000000..c73e076 --- /dev/null +++ b/premake5.lua @@ -0,0 +1,50 @@ +workspace "Bakara" + architecture "x64" + configurations { "Debug", "Release" } + startproject "Sandbox" + + outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" + +project "Bakara" + location "bakara" + kind "StaticLib" + language "C++" + + targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") + objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") + + files + { + "%{prj.location}/src/**.hpp", + "%{prj.location}/src/**.cpp", + } + +project "Sandbox" + location "sandbox" + kind "ConsoleApp" + language "C++" + cppdialect "C++17" + staticruntime "on" + systemversion "latest" + + targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") + objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") + + files + { + "%{prj.location}/src/**.hpp", + "%{prj.location}/src/**.cpp", + } + + includedirs + { + "%{wks.location}/bakara/src", + } + + links + { + "Bakara" + } + + +