-
-
Notifications
You must be signed in to change notification settings - Fork 480
Expand file tree
/
Copy pathpremake5.lua
More file actions
30 lines (25 loc) · 718 Bytes
/
premake5.lua
File metadata and controls
30 lines (25 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"