2021-12-20 12:08:25 -05:00
|
|
|
|
|
|
|
project "GLAD"
|
|
|
|
kind "StaticLib"
|
|
|
|
language "C"
|
|
|
|
staticruntime "on"
|
|
|
|
|
|
|
|
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
|
|
|
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
|
|
|
|
|
|
|
files {
|
|
|
|
"include/glad/glad.h",
|
|
|
|
"include/KHR/khrplatform.h",
|
|
|
|
"src/glad.c"
|
|
|
|
}
|
|
|
|
|
|
|
|
includedirs {
|
|
|
|
"include"
|
|
|
|
}
|
|
|
|
|
|
|
|
filter "system:windows"
|
|
|
|
systemversion "latest"
|
|
|
|
filter "system:linux or macosx"
|
|
|
|
pic "on"
|
2021-12-24 15:01:01 -05:00
|
|
|
filter "system:macosx"
|
|
|
|
sysincludedirs { "include" }
|
2021-12-20 12:08:25 -05:00
|
|
|
|
|
|
|
filter "configurations:Debug"
|
|
|
|
runtime "Debug"
|
|
|
|
symbols "on"
|
|
|
|
|
|
|
|
filter "configurations:Release"
|
|
|
|
runtime "Release"
|
2021-12-24 15:01:01 -05:00
|
|
|
optimize "on"
|