mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-08 03:00:25 +02:00
Blindly dump tinygltf in like a neanderthal
This commit is contained in:
30
source/lib/tinygltf/premake5.lua
Normal file
30
source/lib/tinygltf/premake5.lua
Normal file
@ -0,0 +1,30 @@
|
||||
sources = {
|
||||
"loader_example.cc",
|
||||
}
|
||||
|
||||
-- premake4.lua
|
||||
solution "TinyGLTFSolution"
|
||||
configurations { "Release", "Debug" }
|
||||
|
||||
if (os.is("windows")) then
|
||||
platforms { "x32", "x64" }
|
||||
else
|
||||
platforms { "native", "x32", "x64" }
|
||||
end
|
||||
|
||||
-- A project defines one build target
|
||||
project "tinygltf"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { sources }
|
||||
flags { "C++11" }
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" } -- -DDEBUG
|
||||
flags { "Symbols" }
|
||||
targetname "loader_example_tinygltf_debug"
|
||||
|
||||
configuration "Release"
|
||||
-- defines { "NDEBUG" } -- -NDEBUG
|
||||
flags { "Symbols", "Optimize" }
|
||||
targetname "loader_example_tinygltf"
|
Reference in New Issue
Block a user