aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/forward.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
commite5d4c47040e526f0302a53c75ccf1f8c3f5981a1 (patch)
tree04fbc5c0838952a002c42c83599f74cc5a0ee9cd /libbuild2/forward.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/forward.hxx')
-rw-r--r--libbuild2/forward.hxx73
1 files changed, 73 insertions, 0 deletions
diff --git a/libbuild2/forward.hxx b/libbuild2/forward.hxx
new file mode 100644
index 0000000..1c1eb77
--- /dev/null
+++ b/libbuild2/forward.hxx
@@ -0,0 +1,73 @@
+// file : libbuild2/forward.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef LIBBUILD2_FORWARD_HXX
+#define LIBBUILD2_FORWARD_HXX
+
+#include <libbuild2/types.hxx>
+
+namespace build2
+{
+ // Forward declarations for the build state.
+
+ // <libbuild2/action.hxx>
+ //
+ struct action;
+
+ // <libbuild2/spec.hxx>
+ //
+ struct opspec;
+
+ // <libbuild2/variable.hxx>
+ //
+ class value;
+ using values = small_vector<value, 1>;
+ struct lookup;
+
+ struct variable;
+ class variable_pool;
+ class variable_map;
+ struct variable_override;
+ using variable_overrides = vector<variable_override>;
+ class variable_override_cache;
+
+ // <libbuild2/function.hxx>
+ //
+ class function_map;
+
+ // <libbuild2/scope.hxx>
+ //
+ class scope;
+ class scope_map;
+
+ // <libbuild2/target-type.hxx>
+ //
+ class target_type_map;
+
+ // <libbuild2/target-key.hxx>
+ //
+ class target_key;
+
+ // <libbuild2/target.hxx>
+ //
+ class target;
+ class target_set;
+ class include_type;
+ struct prerequisite_member;
+
+ // <libbuild2/prerequisite.hxx>
+ //
+ class prerequisite;
+ class prerequisite_key;
+
+ // <libbuild2/rule.hxx>
+ //
+ class rule;
+
+ // <libbuild2/context.hxx>
+ //
+ class context;
+}
+
+#endif // LIBBUILD2_FORWARD_HXX