From e5d4c47040e526f0302a53c75ccf1f8c3f5981a1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 29 Oct 2019 14:17:30 +0200 Subject: Add forward declaration header for build state types --- libbuild2/forward.hxx | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 libbuild2/forward.hxx (limited to 'libbuild2/forward.hxx') 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 + +namespace build2 +{ + // Forward declarations for the build state. + + // + // + struct action; + + // + // + struct opspec; + + // + // + class value; + using values = small_vector; + struct lookup; + + struct variable; + class variable_pool; + class variable_map; + struct variable_override; + using variable_overrides = vector; + class variable_override_cache; + + // + // + class function_map; + + // + // + class scope; + class scope_map; + + // + // + class target_type_map; + + // + // + class target_key; + + // + // + class target; + class target_set; + class include_type; + struct prerequisite_member; + + // + // + class prerequisite; + class prerequisite_key; + + // + // + class rule; + + // + // + class context; +} + +#endif // LIBBUILD2_FORWARD_HXX -- cgit v1.1