mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Woops, forgot the premake5 file for glad
This commit is contained in:
36
Nuake/dependencies/glad_p5.lua
Normal file
36
Nuake/dependencies/glad_p5.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
project 'glad'
|
||||
location "glad"
|
||||
|
||||
kind "StaticLib"
|
||||
staticruntime "on"
|
||||
warnings 'Off'
|
||||
optimize 'Speed'
|
||||
|
||||
targetdir ("glad/bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("glad/bin-obj/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
includedirs
|
||||
{
|
||||
"glad/include"
|
||||
}
|
||||
|
||||
files
|
||||
{
|
||||
"glad/src/**.c",
|
||||
"glad/include/**.h",
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
cppdialect "C++17"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
cppdialect "C++17"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
|
||||
filter "configurations:Dist"
|
||||
cppdialect "C++17"
|
||||
runtime "Release"
|
||||
optimize "on"
|
||||
Reference in New Issue
Block a user