diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-04-06 19:13:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-04-06 19:13:51 +0000 |
commit | 514721c24c7212c084ad2530e8239ff121097818 (patch) | |
tree | bfe5d346e767df47d10a5631e33a2e0540d72604 /build.conf | |
parent | aaeaa599a14642e916bbd8a32a208ee96a26eaac (diff) | |
download | libbu++-514721c24c7212c084ad2530e8239ff121097818.tar.gz libbu++-514721c24c7212c084ad2530e8239ff121097818.tar.bz2 libbu++-514721c24c7212c084ad2530e8239ff121097818.tar.xz libbu++-514721c24c7212c084ad2530e8239ff121097818.zip |
Ok, I rearranged some things, we have a tools dir now, those build by default.
Also I added a bunch of classes that I've been tinkering with that are almost
ready for use, so I figured I may as well throw them in here.
Diffstat (limited to '')
-rw-r--r-- | build.conf | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -5,7 +5,7 @@ | |||
5 | # This file is part of the libbu++ library and is released under the | 5 | # This file is part of the libbu++ library and is released under the |
6 | # terms of the license contained in the file LICENSE. | 6 | # terms of the license contained in the file LICENSE. |
7 | 7 | ||
8 | default action: check group "lnhdrs", check "libbu++.a" | 8 | default action: check group "lnhdrs", check "libbu++.a", check group "tools" |
9 | "tests" action: check group "lnhdrs", check group "tests" | 9 | "tests" action: check group "lnhdrs", check group "tests" |
10 | "all" action: check group "lnhdrs", check targets() | 10 | "all" action: check group "lnhdrs", check targets() |
11 | 11 | ||
@@ -45,6 +45,15 @@ filesIn("src/tests") filter regexp("^src/tests/(.*)\\.cpp$", "tests/{re:1}"): | |||
45 | set "LDFLAGS" += "-L. -lbu++", | 45 | set "LDFLAGS" += "-L. -lbu++", |
46 | input "src/{target}.cpp" | 46 | input "src/{target}.cpp" |
47 | 47 | ||
48 | filesIn("src/tools") filter regexp("^src/tools/(.*)\\.cpp$", "{re:1}"): | ||
49 | rule "exe", | ||
50 | target file, | ||
51 | group "tools", | ||
52 | requires "libbu++.a", | ||
53 | set "CXXFLAGS" += "-I.", | ||
54 | set "LDFLAGS" += "-L. -lbu++", | ||
55 | input "src/tools/{target}.cpp" | ||
56 | |||
48 | ["tests/itoqueue1", "tests/itoqueue2", "tests/socketblock", "tests/itoserver", | 57 | ["tests/itoqueue1", "tests/itoqueue2", "tests/socketblock", "tests/itoserver", |
49 | "tests/itoheap"]: | 58 | "tests/itoheap"]: |
50 | set "LDFLAGS" += "-lpthread" | 59 | set "LDFLAGS" += "-lpthread" |