diff options
author | Mike Buland <mike@xagasoft.com> | 2012-07-09 08:39:37 -0600 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2012-07-09 08:39:37 -0600 |
commit | 40ee7ad5aeadeb9823e1cd6e1218a1999c608a65 (patch) | |
tree | 6e819d8406d818eaa63cb6f04e2a129b8561c213 /default.bld | |
download | libgenetic-40ee7ad5aeadeb9823e1cd6e1218a1999c608a65.tar.gz libgenetic-40ee7ad5aeadeb9823e1cd6e1218a1999c608a65.tar.bz2 libgenetic-40ee7ad5aeadeb9823e1cd6e1218a1999c608a65.tar.xz libgenetic-40ee7ad5aeadeb9823e1cd6e1218a1999c608a65.zip |
New libgenetic. Genetic algorithms, only good.
Diffstat (limited to '')
-rw-r--r-- | default.bld | 20 |
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 @@ | |||
1 | target "libgenetic.a" | ||
2 | { | ||
3 | rule "lib"; | ||
4 | input files("src/*.cpp"); | ||
5 | |||
6 | CXXFLAGS += "-I. -ggdb"; | ||
7 | } | ||
8 | |||
9 | for 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 | } | ||