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"
|
2021-12-31 14:48:18 -05:00
|
|
|
systemversion "latest"
|
2021-12-20 12:08:25 -05:00
|
|
|
pic "on"
|
2021-12-24 15:01:01 -05:00
|
|
|
filter "system:macosx"
|
2021-12-31 14:48:18 -05:00
|
|
|
systemversion "latest"
|
2021-12-24 15:01:01 -05:00
|
|
|
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"
|