summaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.bld20
1 files changed, 20 insertions, 0 deletions
diff --git a/default.bld b/default.bld
new file mode 100644
index 0000000..c5312cd
--- /dev/null
+++ b/default.bld
@@ -0,0 +1,20 @@
1target "libgenetic.a"
2{
3 rule "lib";
4 input files("src/*.cpp");
5
6 CXXFLAGS += "-I. -ggdb";
7}
8
9for src in files("src/tests/*.cpp") do
10{
11 target src.replace("src/","").replace(".cpp","")
12 {
13 rule "exe";
14 input src;
15 requires "libgenetic.a";
16
17 CXXFLAGS += "-I. -ggdb";
18 LDFLAGS += "-L. -lgenetic -lbu++ -ggdb";
19 }
20}