aboutsummaryrefslogtreecommitdiff
path: root/build2/test/target
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/target')
-rw-r--r--build2/test/target29
1 files changed, 29 insertions, 0 deletions
diff --git a/build2/test/target b/build2/test/target
new file mode 100644
index 0000000..fe1d25f
--- /dev/null
+++ b/build2/test/target
@@ -0,0 +1,29 @@
+// file : build2/test/target -*- C++ -*-
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BUILD2_TEST_TARGET
+#define BUILD2_TEST_TARGET
+
+#include <build2/types>
+#include <build2/utility>
+
+#include <build2/target>
+
+namespace build2
+{
+ namespace test
+ {
+ class testscript: public file
+ {
+ public:
+ using file::file;
+
+ public:
+ static const target_type static_type;
+ virtual const target_type& dynamic_type () const {return static_type;}
+ };
+ }
+}
+
+#endif // BUILD2_TEST_TARGET