aboutsummaryrefslogtreecommitdiff
path: root/default.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-04-04 07:22:10 +0000
committerMike Buland <eichlan@xagasoft.com>2011-04-04 07:22:10 +0000
commitabbf45c1da7f3e3a542e6c6339a1bab31283f22e (patch)
tree1d40f79bbe315294507bb9bfedfbe2b01e815c1a /default.bld
parentbc5fc82538f220f62f231d5bdda5910752156a32 (diff)
downloadlibbu++-abbf45c1da7f3e3a542e6c6339a1bab31283f22e.tar.gz
libbu++-abbf45c1da7f3e3a542e6c6339a1bab31283f22e.tar.bz2
libbu++-abbf45c1da7f3e3a542e6c6339a1bab31283f22e.tar.xz
libbu++-abbf45c1da7f3e3a542e6c6339a1bab31283f22e.zip
I made some awesome progress on the UtfString system, it stores in native utf16
encoding to make things easier (little endian in our case). It can currently read utf8 and utf16be, but not BOM. It will give you full unicode code points instead of the raw utf16 values, which is pretty slick.
Diffstat (limited to 'default.bld')
-rw-r--r--default.bld37
1 files changed, 34 insertions, 3 deletions
diff --git a/default.bld b/default.bld
index aa7f4cb..1aca56a 100644
--- a/default.bld
+++ b/default.bld
@@ -15,7 +15,8 @@ CXXFLAGS += "-ggdb -W -Wall -I.";
15 15
16action "default" 16action "default"
17{ 17{
18 build: [targets("header-links"), "libbu++.a", targets("tools")]; 18 build: [targets("header-links"), "libbu++.a",
19 targets("tools")];
19} 20}
20 21
21action "pkg" 22action "pkg"
@@ -25,14 +26,44 @@ action "pkg"
25 26
26action "all" 27action "all"
27{ 28{
28 build: [targets("header-links"), "libbu++.a", targets("tools"), 29 build: [targets("header-links"), "libbu++.a",
29 targets("tests")]; 30 targets("tools"), targets("tests")];
30} 31}
31 32
32action "unit" 33action "unit"
33{ 34{
34 build: targets("unit tests"); 35 build: targets("unit tests");
35} 36}
37/*
38target "src/autoconfig.h"
39{
40 input "autoconfig";
41 display "autoconfig";
42 profile "build"
43 {
44 execute("./autoconfig 2>src/autoconfig.h");
45 }
46}
47
48target "bu/autoconfig.h"
49{
50 tag "header-links";
51 display "symlink";
52 input "src/autoconfig.h";
53 profile "build"
54 {
55 execute("echo ${INPUT}");
56 execute("echo ${OUTPUT}");
57 execute("mkdir -p $(dirname ${OUTPUT}); ln -s ../${INPUT} ${OUTPUT}");
58 }
59}
60
61target "autoconfig"
62{
63 rule "exe";
64 input "autoconfig.cpp";
65}
66*/
36 67
37target files("src/*.h").replace("src/", "bu/") 68target files("src/*.h").replace("src/", "bu/")
38{ 69{