diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-04-27 14:39:21 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-04-27 14:39:21 +0000 |
commit | f504a6c9ae3634799d36963aeea82160b2f10920 (patch) | |
tree | 2a8078bca5181228935ff7e4875683b90cbe5ba4 | |
parent | f254b23578a9a53a56e6cea980ba588e5f830314 (diff) | |
download | libbu++-f504a6c9ae3634799d36963aeea82160b2f10920.tar.gz libbu++-f504a6c9ae3634799d36963aeea82160b2f10920.tar.bz2 libbu++-f504a6c9ae3634799d36963aeea82160b2f10920.tar.xz libbu++-f504a6c9ae3634799d36963aeea82160b2f10920.zip |
The myriadfs program is now in it's own seperate area and not built by default.
-rw-r--r-- | default.bld | 16 | ||||
-rw-r--r-- | src/extra/myriadfs.cpp (renamed from src/tools/myriadfs.cpp) | 0 |
2 files changed, 15 insertions, 1 deletions
diff --git a/default.bld b/default.bld index 9391c68..3b6c213 100644 --- a/default.bld +++ b/default.bld | |||
@@ -35,6 +35,11 @@ action "unit" | |||
35 | build: targets("unit tests"); | 35 | build: targets("unit tests"); |
36 | } | 36 | } |
37 | 37 | ||
38 | action "myriadfs" | ||
39 | { | ||
40 | build: "myriadfs"; | ||
41 | } | ||
42 | |||
38 | target ["src/autoconfig.h", "src/version.h"] | 43 | target ["src/autoconfig.h", "src/version.h"] |
39 | { | 44 | { |
40 | input "autoconfig"; | 45 | input "autoconfig"; |
@@ -105,13 +110,22 @@ target "viewcsv" | |||
105 | LDFLAGS += "-lncurses"; | 110 | LDFLAGS += "-lncurses"; |
106 | } | 111 | } |
107 | 112 | ||
113 | target files("src/extra/*.cpp").replace("src/extra/","").replace(".cpp","") | ||
114 | { | ||
115 | input "src/extra/${OUTPUT}.cpp"; | ||
116 | rule "exe"; | ||
117 | requires "libbu++.a"; | ||
118 | CXXFLAGS += "-I."; | ||
119 | LDFLAGS += "-L. -lbu++"; | ||
120 | } | ||
121 | |||
108 | // | 122 | // |
109 | // This shouldn't be. Basically, if you set a property on a top level target | 123 | // This shouldn't be. Basically, if you set a property on a top level target |
110 | // that has children it seems like the items should apply to the children. | 124 | // that has children it seems like the items should apply to the children. |
111 | // I'm honestly not 100% sure what the policy should be yet, but this seems like | 125 | // I'm honestly not 100% sure what the policy should be yet, but this seems like |
112 | // I shouldn't have to do it this way. | 126 | // I shouldn't have to do it this way. |
113 | // | 127 | // |
114 | target "src/tools/myriadfs.o" | 128 | target "src/extra/myriadfs.o" |
115 | { | 129 | { |
116 | CXXFLAGS += "-D_FILE_OFFSET_BITS=64"; | 130 | CXXFLAGS += "-D_FILE_OFFSET_BITS=64"; |
117 | } | 131 | } |
diff --git a/src/tools/myriadfs.cpp b/src/extra/myriadfs.cpp index 3e4599b..3e4599b 100644 --- a/src/tools/myriadfs.cpp +++ b/src/extra/myriadfs.cpp | |||