Added GLFW

This commit is contained in:
Light3039 2021-05-21 15:00:29 +04:30
parent ce790b4d38
commit 8d633dac01
5 changed files with 19 additions and 7 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "Dependencies/spdlog"]
path = Dependencies/spdlog
url = https://github.com/gabime/spdlog
[submodule "Dependencies/GLFW"]
path = Dependencies/GLFW
url = https://github.com/Light3039/glfw

View file

@ -17,4 +17,7 @@ outputdir = "%{cfg.buildcfg}/%{cfg.system}/%{cfg.architecture}/%{prj.name}"
-- Projects --
include "../Sandbox/"
include "../Engine/"
include "../Engine/"
group "Dependencies"
include "../Dependencies/GLFW/"

1
Dependencies/GLFW vendored Submodule

@ -0,0 +1 @@
Subproject commit 72229440a46f607a325fa430ef0c9c14c7ec1218

View file

@ -1,10 +1,10 @@
project "Engine"
-- Output Directories --
location "../Engine/"
location "%{wks.location}/Engine/"
targetdir ("../bin/" .. outputdir)
objdir ("../bin-int/" .. outputdir)
targetdir ("%{wks.location}/bin/" .. outputdir)
objdir ("%{wks.location}/bin-int/" .. outputdir)
-- Compiler --
kind "StaticLib"
@ -27,6 +27,11 @@ project "Engine"
(dependenciesdir .. "spdlog/include/"),
}
links
{
"GLFW",
}
--- Filters ---
-- windows

View file

@ -1,10 +1,10 @@
project "Sandbox"
-- Output Directories --
location "../Sandbox/"
location "%{wks.location}/Sandbox/"
targetdir ("../bin/" .. outputdir)
objdir ("../bin-int/" .. outputdir)
targetdir ("%{wks.location}/bin/" .. outputdir)
objdir ("%{wks.location}/bin-int/" .. outputdir)
-- Compiler --
kind "ConsoleApp"