2021-05-25 21:22:01 +04:30
|
|
|
project "GLAD"
|
|
|
|
|
2021-08-21 15:53:36 +04:30
|
|
|
-- Output Directories --
|
2021-05-25 21:22:01 +04:30
|
|
|
location "%{wks.location}/Dependencies/GLAD"
|
|
|
|
|
2021-08-21 15:53:36 +04:30
|
|
|
targetdir (target_dir)
|
|
|
|
objdir (object_dir)
|
2021-05-25 21:22:01 +04:30
|
|
|
|
|
|
|
-- Compiler --
|
|
|
|
kind "StaticLib"
|
|
|
|
language "C"
|
|
|
|
|
|
|
|
-- Project Files ---
|
|
|
|
files
|
|
|
|
{
|
2021-08-21 15:53:36 +04:30
|
|
|
"src/glad.c",
|
|
|
|
"include/glad/glad.h",
|
|
|
|
"include/KHR/khrplatform.h",
|
2021-05-27 10:41:32 +04:30
|
|
|
|
2021-08-21 15:53:36 +04:30
|
|
|
"%{prj.location}/build.lua",
|
2021-05-25 21:22:01 +04:30
|
|
|
}
|
|
|
|
|
2021-08-21 15:53:36 +04:30
|
|
|
-- Includes --
|
2021-05-25 21:22:01 +04:30
|
|
|
includedirs
|
|
|
|
{
|
|
|
|
"%{prj.location}/include/"
|
|
|
|
}
|
|
|
|
|
|
|
|
--- Filters ---
|
|
|
|
-- windows
|
|
|
|
filter "system:windows"
|
|
|
|
systemversion "latest"
|
|
|
|
staticruntime "On"
|
|
|
|
|
|
|
|
defines
|
|
|
|
{
|
|
|
|
"_CRT_SECURE_NO_WARNINGS",
|
|
|
|
}
|
|
|
|
|
2021-07-23 11:22:01 +04:30
|
|
|
flags { "MultiProcessorCompile" }
|
|
|
|
|
2021-05-25 21:22:01 +04:30
|
|
|
-- debug
|
|
|
|
filter "configurations:Debug"
|
|
|
|
runtime "Debug"
|
|
|
|
symbols "on"
|
|
|
|
|
|
|
|
-- release
|
|
|
|
filter "configurations:Release"
|
|
|
|
runtime "Release"
|
|
|
|
optimize "on"
|
|
|
|
|
|
|
|
-- distribution
|
|
|
|
filter "configurations:Distribution"
|
|
|
|
runtime "Release"
|
2021-08-21 15:53:36 +04:30
|
|
|
optimize "full"
|