aboutsummaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-10-11 15:47:45 +0000
committerMike Buland <eichlan@xagasoft.com>2006-10-11 15:47:45 +0000
commit745875139b5ee46e469927d410364bfeeedb2995 (patch)
tree393d6ded249fdca428539098caeb285479fa7ab3 /build.conf
parentdf6f199b4e158d1d6cfb99d45258efa22afee715 (diff)
downloadlibbu++-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 'build.conf')
-rw-r--r--build.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.conf b/build.conf
index 09efc01..a8c76aa 100644
--- a/build.conf
+++ b/build.conf
@@ -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
16directoriesIn("src/test","tests/"): 16directoriesIn("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
24filesIn("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
26rule "exe": 34rule "exe":