Add initial unit test codes using Catch.

Add Kuroga build script.
This commit is contained in:
Syoyo Fujita
2016-04-18 16:03:24 +09:00
parent 54bd46014c
commit 72ef6cbb76
15 changed files with 17897 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
sources = {
"test.cc",
"loader_example.cc",
}
-- premake4.lua
@@ -21,9 +21,9 @@ solution "TinyObjLoaderSolution"
configuration "Debug"
defines { "DEBUG" } -- -DDEBUG
flags { "Symbols" }
targetname "test_tinyobjloader_debug"
targetname "loader_example_debug"
configuration "Release"
-- defines { "NDEBUG" } -- -NDEBUG
flags { "Symbols", "Optimize" }
targetname "test_tinyobjloader"
targetname "loader_example"