summaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
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":