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" |
workspace "Bakara" |
||||||
architecture "x64" |
architecture "x64" |
||||||
configurations { "Debug", "Release" } |
configurations { "Debug", "Release" } |
||||||
startproject "Sandbox" |
startproject "sandbox" |
||||||
|
|
||||||
outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" |
outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" |
||||||
|
|
||||||
project "Bakara" |
group "Dependencies" |
||||||
location "bakara" |
include "bakara/vendor" |
||||||
kind "StaticLib" |
group "" |
||||||
language "C++" |
|
||||||
|
group "Core" |
||||||
targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") |
include "bakara" |
||||||
objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") |
group "" |
||||||
|
|
||||||
files |
group "App" |
||||||
{ |
include "sandbox" |
||||||
"%{prj.location}/src/**.hpp", |
group "" |
||||||
"%{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" |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -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