tinygltf/premake4.lua
2016-05-01 20:03:43 +09:00

30 lines
718 B
Lua

sources = {
"loader_example.cc",
}
-- premake4.lua
solution "TinyGLTFLoaderSolution"
configurations { "Release", "Debug" }
if (os.is("windows")) then
platforms { "x32", "x64" }
else
platforms { "native", "x32", "x64" }
end
-- A project defines one build target
project "tinygltfloader"
kind "ConsoleApp"
language "C++"
files { sources }
configuration "Debug"
defines { "DEBUG" } -- -DDEBUG
flags { "Symbols" }
targetname "loader_example_tinygltfloader_debug"
configuration "Release"
-- defines { "NDEBUG" } -- -NDEBUG
flags { "Symbols", "Optimize" }
targetname "loader_example_tinygltfloader"