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

@@ -3,6 +3,8 @@ cc = clang
cxx = clang++
cflags = -Werror -Weverything
cxxflags = -Werror -Weverything
#cflags = -O2
#cxxflags = -O2
rule compile
command = $cxx $cxxflags -c $in -o $out
@@ -10,7 +12,7 @@ rule compile
rule link
command = $cxx $in -o $out
build test.o: compile test.cc
build test: link test.o
build loader_example.o: compile loader_example.cc
build loader_example: link loader_example.o
default test
default loader_example