aboutsummaryrefslogtreecommitdiff
path: root/build.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/build.conf b/build.conf
index 5c4dbb6..bc186f9 100644
--- a/build.conf
+++ b/build.conf
@@ -30,6 +30,22 @@ filesIn("src/tests") filter regexp("^src/tests/(.*)\\.cpp$", "tests/{re:1}"):
30 set "LDFLAGS" += "-L. -lbu++", 30 set "LDFLAGS" += "-L. -lbu++",
31 input "src/{target}.cpp" 31 input "src/{target}.cpp"
32 32
33directoriesIn("src/unit","unit/"):
34 rule "exe",
35 target file,
36 requires "libbu++.a",
37 set "CXXFLAGS" += "-Isrc",
38 set "LDFLAGS" += "-L. -lbu++",
39 input filesIn("{fulldir}") filter regexp("^.*\\.cpp$")
40
41filesIn("src/unit") filter regexp("^src/unit/(.*)\\.cpp$", "unit/{re:1}"):
42 rule "exe",
43 target file,
44 requires "libbu++.a",
45 set "CXXFLAGS" += "-Isrc",
46 set "LDFLAGS" += "-L. -lbu++",
47 input "src/{target}.cpp"
48
33"tests/plugin": set "LDFLAGS" += "-ldl" 49"tests/plugin": set "LDFLAGS" += "-ldl"
34 50
35rule "exe": 51rule "exe":