summaryrefslogtreecommitdiff
path: root/tools/build/v2/test/generators-test/qt.jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/v2/test/generators-test/qt.jam')
-rw-r--r--tools/build/v2/test/generators-test/qt.jam34
1 files changed, 34 insertions, 0 deletions
diff --git a/tools/build/v2/test/generators-test/qt.jam b/tools/build/v2/test/generators-test/qt.jam
new file mode 100644
index 0000000000..ec0ee33749
--- /dev/null
+++ b/tools/build/v2/test/generators-test/qt.jam
@@ -0,0 +1,34 @@
+# Copyright 2002 Dave Abrahams
+# Copyright 2002 Vladimir Prus
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+import modules ;
+
+if [ modules.peek : NT ]
+{
+ comment = // ;
+}
+else
+{
+ comment = \"//\" ;
+}
+
+rule uic ( target : sources * : properties * )
+{
+ comment on $(<) = $(comment) ;
+}
+rule uic-h ( target : sources * : properties * )
+{
+ comment on $(<) = $(comment) ;
+}
+
+actions uic
+{
+ echo $(comment) $(>) > $(<)
+}
+
+actions uic-h
+{
+ echo $(comment) $(>) > $(<)
+}