diff options
Diffstat (limited to '')
-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 | { |