aboutsummaryrefslogtreecommitdiff
path: root/bu
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-16 20:10:58 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-16 20:10:58 +0000
commitf72c6e4b97afeb69d9ea4d743c0c302d647ea424 (patch)
tree48d9d94db520455324e902759e887c0d98de976a /bu
parent5eba456f0147b12a6247cd7aa41e55d121962358 (diff)
downloadlibbu++-f72c6e4b97afeb69d9ea4d743c0c302d647ea424.tar.gz
libbu++-f72c6e4b97afeb69d9ea4d743c0c302d647ea424.tar.bz2
libbu++-f72c6e4b97afeb69d9ea4d743c0c302d647ea424.tar.xz
libbu++-f72c6e4b97afeb69d9ea4d743c0c302d647ea424.zip
The new signal/slots system is in place, and works from 0-5 parameters right
now, I'll probably add more later on... I've also started on the replacement for ParamProc, OptParser. It should do everything that ParamProc did, only with less code, and much better.
Diffstat (limited to '')
-rw-r--r--buildm3.conf68
1 files changed, 68 insertions, 0 deletions
diff --git a/buildm3.conf b/buildm3.conf
new file mode 100644
index 0000000..ccc7131
--- /dev/null
+++ b/buildm3.conf
@@ -0,0 +1,68 @@
1# vim: syntax=build
2
3set CXXFLAGS += "-ggdb -W -Wall";
4
5action "default"
6{
7 build: [targets("header-links"), "libbu++.a"];
8}
9
10action "pkg"
11{
12 build: targets("pkg");
13}
14
15target files("src/*.h").replace("src/", "bu/")
16{
17 tag "header-links";
18 display "symlink";
19 input OUTPUT.replace("bu/","src/");
20 profile "build"
21 {
22 execute("ln -s ../${INPUT} ${OUTPUT}");
23 }
24}
25
26target "libbu++.a"
27{
28 input files("src/*.cpp");
29 rule "lib";
30 set CXXFLAGS += "-I. -fPIC";
31}
32
33target "libbu++-r$(svnversion "-n").tar.bz2"
34{
35 input [
36 "LICENSE",
37 "build.conf",
38 "Doxyfile",
39 "buildm3.conf",
40 "support/vim/syntax/taf.vim",
41 "support/vim/ftdetect/taf.vim",
42 "support/vim/ftplugin/taf.vim",
43 files("*.sh"),
44 files("src/*.cpp"),
45 files("src/*.h"),
46 files("src/tests/*.cpp"),
47 files("src/tests*.h"),
48 files("src/tools/*.cpp"),
49 files("src/tools/*.h"),
50 files("src/unit/*.unit"),
51 files("src/doxy/*.dox")
52 ];
53 rule "tarball";
54 tag "pkg";
55}
56
57rule "tarball"
58{
59 input matches("LICENSE", "*.cpp", "*.h", "*.conf", "Doxyfile", "*.vim",
60 "*.sh");
61 profile "build"
62 {
63 set OUTDIR = OUTPUT.replace(".tar.bz2","");
64 execute("tar --transform=\"s@^@${OUTDIR}/@\" -c ${INPUT} |"
65 " bzip2 -9 > ${OUTPUT}");
66 }
67}
68