diff options
Diffstat (limited to '')
-rw-r--r-- | build.conf | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 | ||
33 | directoriesIn("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 | |||
41 | filesIn("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 | ||
35 | rule "exe": | 51 | rule "exe": |