parent
591cdd0c24
commit
e087c68116
3 changed files with 64 additions and 41 deletions
@ -0,0 +1,25 @@ |
||||
project "bakara" |
||||
kind "StaticLib" |
||||
language "C++" |
||||
cppdialect "C++17" |
||||
staticruntime "off" |
||||
|
||||
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
||||
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
||||
|
||||
files |
||||
{ |
||||
"src/**.h", |
||||
"src/**.cpp" |
||||
} |
||||
|
||||
includedirs |
||||
{ |
||||
"src", |
||||
"vendor" |
||||
} |
||||
|
||||
links |
||||
{ |
||||
"glm" |
||||
} |
@ -1,50 +1,22 @@ |
||||
workspace "Bakara" |
||||
architecture "x64" |
||||
configurations { "Debug", "Release" } |
||||
startproject "Sandbox" |
||||
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" |
||||
} |
||||
group "Dependencies" |
||||
include "bakara/vendor" |
||||
group "" |
||||
|
||||
group "Core" |
||||
include "bakara" |
||||
group "" |
||||
|
||||
group "App" |
||||
include "sandbox" |
||||
group "" |
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,26 @@ |
||||
project "sandbox" |
||||
kind "ConsoleApp" |
||||
language "C++" |
||||
cppdialect "C++17" |
||||
staticruntime "off" |
||||
systemversion "latest" |
||||
|
||||
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
||||
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
||||
|
||||
files |
||||
{ |
||||
"src/**.h", |
||||
"src/**.cpp" |
||||
} |
||||
|
||||
includedirs |
||||
{ |
||||
"%{wks.location}/bakara/vendor", |
||||
"%{wks.location}/bakara/src" |
||||
} |
||||
|
||||
links |
||||
{ |
||||
"bakara" |
||||
} |
Loading…
Reference in New Issue