Skip to content

Commit 72ef6cb

Browse files
committed
Add initial unit test codes using Catch.
Add Kuroga build script.
1 parent 54bd460 commit 72ef6cb

File tree

15 files changed

+17897
-11
lines changed

15 files changed

+17897
-11
lines changed

build.ninja

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ cc = clang
33
cxx = clang++
44
cflags = -Werror -Weverything
55
cxxflags = -Werror -Weverything
6+
#cflags = -O2
7+
#cxxflags = -O2
68

79
rule compile
810
command = $cxx $cxxflags -c $in -o $out
911

1012
rule link
1113
command = $cxx $in -o $out
1214

13-
build test.o: compile test.cc
14-
build test: link test.o
15+
build loader_example.o: compile loader_example.cc
16+
build loader_example: link loader_example.o
1517

16-
default test
18+
default loader_example

0 commit comments

Comments
 (0)