diff options
Diffstat (limited to 'default.bld')
-rw-r--r-- | default.bld | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/default.bld b/default.bld index c5312cd..a6be035 100644 --- a/default.bld +++ b/default.bld | |||
@@ -18,3 +18,17 @@ for src in files("src/tests/*.cpp") do | |||
18 | LDFLAGS += "-L. -lgenetic -lbu++ -ggdb"; | 18 | LDFLAGS += "-L. -lgenetic -lbu++ -ggdb"; |
19 | } | 19 | } |
20 | } | 20 | } |
21 | |||
22 | for dir in dirs("src/tests/*") do | ||
23 | { | ||
24 | target dir.replace("src/","") | ||
25 | { | ||
26 | rule "exe"; | ||
27 | input files( dir + "/*.cpp"); | ||
28 | requires "libgenetic.a"; | ||
29 | |||
30 | CXXFLAGS += "-I. -ggdb"; | ||
31 | LDFLAGS += "-L. -lgenetic -lbu++ -lpthread -ggdb"; | ||
32 | } | ||
33 | } | ||
34 | |||