We now have a current svn snapshot of libqxt in our contrib dir, and
[quassel.git] / src / contrib / libqxt-2007-10-24 / features / unix / bootstrap.prf
diff --git a/src/contrib/libqxt-2007-10-24/features/unix/bootstrap.prf b/src/contrib/libqxt-2007-10-24/features/unix/bootstrap.prf
new file mode 100644 (file)
index 0000000..e17aeca
--- /dev/null
@@ -0,0 +1,42 @@
+contains(CONFIG,convenience){
+
+
+
+system(  echo  > ../../deploy/include/$${TARGET}/$${TARGET})
+
+
+
+
+for(part, ModuleBuild){
+       mm=
+       for(ii, $${part}.interfaces){
+               mm+=$$ii
+       }
+       mm+=$${part}
+       
+
+       for(i , mm ){
+               incs.files+=$${i}.h
+               message(autogenerating C++ style includes for $${i})
+               
+                system(  echo " \\$${LITERAL_HASH}include \\\"$${part}.h\\\" " > ../../deploy/include/$${TARGET}/$${i})
+                system(  echo  >> ../../deploy/include/$${TARGET}/$${i})
+
+                system(  echo " \\$${LITERAL_HASH}include \\\"$${part}.h\\\" " >> ../../deploy/include/$${TARGET}/$${TARGET})
+
+
+
+               incs.files+=../../../deploy/include/$${TARGET}/$${i}
+                }
+
+       
+
+        }
+
+
+system(  echo  >> ../../deploy/include/$${TARGET}/$${TARGET})
+incs.files+=../../../deploy/include/$${TARGET}/$${TARGET}
+
+
+}
+