aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2013-02-23 06:27:52 +0000
committerMike Buland <eichlan@xagasoft.com>2013-02-23 06:27:52 +0000
commit180bee907a63817196b9e3ec8472603c8b5b8756 (patch)
tree30424ca832ed8804c323897728b92c4794f5eb22 /default.bld
parentfc7fc244600f504b6f832d8106a9218ef6a9b88b (diff)
downloadlibbu++-180bee907a63817196b9e3ec8472603c8b5b8756.tar.gz
libbu++-180bee907a63817196b9e3ec8472603c8b5b8756.tar.bz2
libbu++-180bee907a63817196b9e3ec8472603c8b5b8756.tar.xz
libbu++-180bee907a63817196b9e3ec8472603c8b5b8756.zip
Just made all tests include libpthread, it makes sense these days.
Creating an experimental new cache system that's controlled primarily with a subclass. This should cut down significantly on the amount of code needed to use the cache. The new one also features a required (for now) base class for objects that use the cache. This simplifies so many different things.
Diffstat (limited to 'default.bld')
-rw-r--r--default.bld7
1 files changed, 1 insertions, 6 deletions
diff --git a/default.bld b/default.bld
index 9babbff..4dd27d0 100644
--- a/default.bld
+++ b/default.bld
@@ -151,11 +151,6 @@ target "viewcsv"
151 LDFLAGS += "-lncurses"; 151 LDFLAGS += "-lncurses";
152} 152}
153 153
154target ["myriad", "myriadfs", "tests/myriad", "tests/myriadfs", "unit/myriad", "tests/bigmyriad", "tests/synchroqueue", "tests/readwritemutex"]
155{
156 LDFLAGS += "-lpthread";
157}
158
159target files("src/extra/*.cpp").replace("src/extra/","").replace(".cpp","") 154target files("src/extra/*.cpp").replace("src/extra/","").replace(".cpp","")
160{ 155{
161 input "src/extra/${OUTPUT}.cpp"; 156 input "src/extra/${OUTPUT}.cpp";
@@ -197,7 +192,7 @@ target files("src/tests/*.cpp").replace("src/","").replace(".cpp","")
197 requires "libbu++.a"; 192 requires "libbu++.a";
198 tag ["tests", "general tests"]; 193 tag ["tests", "general tests"];
199 CXXFLAGS += "-I."; 194 CXXFLAGS += "-I.";
200 LDFLAGS += "-L. -lbu++"; 195 LDFLAGS += "-L. -lbu++ -lpthread";
201} 196}
202 197
203// Some tests need extra libs and whatnot, that goes here. 198// Some tests need extra libs and whatnot, that goes here.