diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-10-11 15:47:45 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-10-11 15:47:45 +0000 |
commit | 745875139b5ee46e469927d410364bfeeedb2995 (patch) | |
tree | 393d6ded249fdca428539098caeb285479fa7ab3 /build.conf | |
parent | df6f199b4e158d1d6cfb99d45258efa22afee715 (diff) | |
download | libbu++-745875139b5ee46e469927d410364bfeeedb2995.tar.gz libbu++-745875139b5ee46e469927d410364bfeeedb2995.tar.bz2 libbu++-745875139b5ee46e469927d410364bfeeedb2995.tar.xz libbu++-745875139b5ee46e469927d410364bfeeedb2995.zip |
Despite some svn oddness, I'm now moving to a new setup for the tests, that's
very much like the original one, but now using build. You will need the latest
build in order to build the tests.
Diffstat (limited to '')
-rw-r--r-- | build.conf | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,7 +13,7 @@ set "CXXFLAGS" += "-ggdb" | |||
13 | set "CXXFLAGS" += "-Isrc -fPIC", | 13 | set "CXXFLAGS" += "-Isrc -fPIC", |
14 | input filesIn("src") filter regexp("^.*\\.cpp$") | 14 | input filesIn("src") filter regexp("^.*\\.cpp$") |
15 | 15 | ||
16 | directoriesIn("src/test","tests/"): | 16 | directoriesIn("src/tests","tests/"): |
17 | rule "exe", | 17 | rule "exe", |
18 | target file, | 18 | target file, |
19 | requires "libbu++.a", | 19 | requires "libbu++.a", |
@@ -21,6 +21,14 @@ directoriesIn("src/test","tests/"): | |||
21 | set "LDFLAGS" += "-L. -lbu++", | 21 | set "LDFLAGS" += "-L. -lbu++", |
22 | input filesIn("{fulldir}") filter regexp("^.*\\.cpp$") | 22 | input filesIn("{fulldir}") filter regexp("^.*\\.cpp$") |
23 | 23 | ||
24 | filesIn("src/tests") filter regexp("^src/tests/(.*)\\.cpp$", "tests/{re:1}"): | ||
25 | rule "exe", | ||
26 | target file, | ||
27 | requires "libbu++.a", | ||
28 | set "CXXFLAGS" += "-Isrc", | ||
29 | set "LDFLAGS" += "-L. -lbu++", | ||
30 | input "src/{target}.cpp" | ||
31 | |||
24 | "tests/plugin": set "LDFLAGS" += "-ldl" | 32 | "tests/plugin": set "LDFLAGS" += "-ldl" |
25 | 33 | ||
26 | rule "exe": | 34 | rule "exe": |