diff options
| author | Mike Buland <mike@xagasoft.com> | 2012-07-09 12:01:50 -0600 |
|---|---|---|
| committer | Mike Buland <mike@xagasoft.com> | 2012-07-09 12:01:50 -0600 |
| commit | 1f7c135934b6604c5409d4b6f34861105c0a64cb (patch) | |
| tree | cc421e2e8620b72e202f0eddf2cd5f1478d3bc06 /default.bld | |
| parent | 40ee7ad5aeadeb9823e1cd6e1218a1999c608a65 (diff) | |
| download | libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.gz libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.bz2 libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.tar.xz libgenetic-1f7c135934b6604c5409d4b6f34861105c0a64cb.zip | |
It works well enough to solve polynomial maxima.
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 | |||
