light/Dependencies/stb_image/build.lua

48 lines
738 B
Lua
Raw Normal View History

project "stb_image"
2021-08-21 15:53:36 +04:30
-- Output Directories --
location "%{wks.location}/Dependencies/stb_image"
2021-08-21 15:53:36 +04:30
targetdir (target_dir)
objdir (object_dir)
-- Compiler --
kind "StaticLib"
language "C"
-- Project Files ---
files
{
"stb_image.c",
"stb_image.h",
2021-08-21 15:53:36 +04:30
"%{prj.location}/build.lua",
}
--- Filters ---
-- windows
filter "system:windows"
systemversion "latest"
staticruntime "On"
defines
{
"_CRT_SECURE_NO_WARNINGS",
}
2021-08-21 15:53:36 +04:30
flags { "MultiProcessorCompile" }
-- debug
filter "configurations:Debug"
runtime "Debug"
symbols "on"
-- release
filter "configurations:Release"
runtime "Release"
optimize "on"
-- distribution
filter "configurations:Distribution"
runtime "Release"
optimize "full"