Rename premake config script.

This commit is contained in:
Syoyo Fujita
2017-12-08 19:45:33 +09:00
parent 06096520b8
commit 6bdd54f709

30
premake5.lua Normal file
View 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"