light/Dependencies/stb_image/build.lua
Light 2121e0ea16 stb_image Project
- stb_image is now built inside a project as a static library
2021-07-23 15:03:47 +04:30

44 lines
No EOL
656 B
Lua

project "stb_image"
location "%{wks.location}/Dependencies/stb_image"
-- Output Directories --
targetdir ("%{wks.location}/bin/" .. outputdir)
objdir ("%{wks.location}/bin-int/" .. outputdir)
-- Compiler --
kind "StaticLib"
language "C"
runtime "Release"
optimize "on"
defines "STB_IMAGE_IMPLEMENTATION"
-- Project Files ---
files
{
"**.c",
"**.h",
"build.lua"
}
-- Dependencies --
includedirs
{
"%{prj.location}/include/"
}
--- Filters ---
-- windows
filter "system:windows"
systemversion "latest"
staticruntime "On"
defines
{
"_CRT_SECURE_NO_WARNINGS",
}
flags { "MultiProcessorCompile" }