aboutsummaryrefslogtreecommitdiff
path: root/share/include
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-04-07 15:25:44 +0000
committerMike Buland <eichlan@xagasoft.com>2011-04-07 15:25:44 +0000
commit4a008047988954e8ab80c74ab18f4e7b2ba4d478 (patch)
tree0bab402e9ea0316c32f192c84ea53c49f8847337 /share/include
parentcfc2ab9cff9f7ef281293efeeb8cdbe1e03ac499 (diff)
downloadbuild-4a008047988954e8ab80c74ab18f4e7b2ba4d478.tar.gz
build-4a008047988954e8ab80c74ab18f4e7b2ba4d478.tar.bz2
build-4a008047988954e8ab80c74ab18f4e7b2ba4d478.tar.xz
build-4a008047988954e8ab80c74ab18f4e7b2ba4d478.zip
Two minor changes, first off the c and cpp requires rules both ignore missing
files and treat them as inputs that we just haven't generated yet. I think this is a better assumption overall and will prevent most files from dying on deps. Second, a change to the qt4 include overrides the normal exe rule and substitutes one that also includes all .h files in it's inputs, only to ignore them in the build profile at the last second. This means that all generated .h files will also be deleted. It's the best solution until I figure out a way to fix this in the build core.
Diffstat (limited to 'share/include')
-rw-r--r--share/include/qt4.bld12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/include/qt4.bld b/share/include/qt4.bld
index a5a7867..6d95ac8 100644
--- a/share/include/qt4.bld
+++ b/share/include/qt4.bld
@@ -151,3 +151,15 @@ rule "qt_moc"
151 } 151 }
152} 152}
153 153
154rule "exe"
155{
156 input regex(".*\\.(h|o)");
157 profile "build"
158 {
159 INPUT = INPUT.matches("*.o");
160// execute("echo ${INPUT}");
161// execute("echo ${MYIN}");
162 execute("${CXX} -o ${OUTPUT} ${INPUT} ${LDFLAGS}");
163 }
164}
165