Creating a basic window
added GLFW to create a window without an API_CONTEXT
This commit is contained in:
23
premake5.lua
Normal file
23
premake5.lua
Normal file
@@ -0,0 +1,23 @@
|
||||
workspace "LearnDirectX"
|
||||
configurations { "Debug", "Release" }
|
||||
|
||||
project "LearnDirectX"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
targetdir "bin/%{cfg.buildcfg}"
|
||||
architecture "x64"
|
||||
|
||||
links {"glfw3"}
|
||||
|
||||
libdirs{ "vendor/GLFW/lib"}
|
||||
includedirs {"vendor/GLFW/include"}
|
||||
|
||||
files { "src/**.h", "src/**.cpp"}
|
||||
|
||||
filter "configurations:Debug"
|
||||
defines {"DEBUG"}
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
defines {"NDEBUG"}
|
||||
optimize "On"
|
||||
Reference in New Issue
Block a user