diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-04-04 07:22:10 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-04 07:22:10 +0000 |
commit | abbf45c1da7f3e3a542e6c6339a1bab31283f22e (patch) | |
tree | 1d40f79bbe315294507bb9bfedfbe2b01e815c1a /default.bld | |
parent | bc5fc82538f220f62f231d5bdda5910752156a32 (diff) | |
download | libbu++-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.bld | 37 |
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 | ||
16 | action "default" | 16 | action "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 | ||
21 | action "pkg" | 22 | action "pkg" |
@@ -25,14 +26,44 @@ action "pkg" | |||
25 | 26 | ||
26 | action "all" | 27 | action "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 | ||
32 | action "unit" | 33 | action "unit" |
33 | { | 34 | { |
34 | build: targets("unit tests"); | 35 | build: targets("unit tests"); |
35 | } | 36 | } |
37 | /* | ||
38 | target "src/autoconfig.h" | ||
39 | { | ||
40 | input "autoconfig"; | ||
41 | display "autoconfig"; | ||
42 | profile "build" | ||
43 | { | ||
44 | execute("./autoconfig 2>src/autoconfig.h"); | ||
45 | } | ||
46 | } | ||
47 | |||
48 | target "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 | |||
61 | target "autoconfig" | ||
62 | { | ||
63 | rule "exe"; | ||
64 | input "autoconfig.cpp"; | ||
65 | } | ||
66 | */ | ||
36 | 67 | ||
37 | target files("src/*.h").replace("src/", "bu/") | 68 | target files("src/*.h").replace("src/", "bu/") |
38 | { | 69 | { |