aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/compile.hxx')
-rw-r--r--build2/cc/compile.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/build2/cc/compile.hxx b/build2/cc/compile.hxx
index f8e6bab..2b6fb2e 100644
--- a/build2/cc/compile.hxx
+++ b/build2/cc/compile.hxx
@@ -22,6 +22,11 @@ namespace build2
namespace cc
{
+ // The order is arranged so that their integral values indicate whether
+ // one is a "stronger" than another.
+ //
+ enum class preprocessed: uint8_t {none, includes, modules, all};
+
class compile: public rule, virtual common
{
public:
@@ -87,7 +92,7 @@ namespace build2
depdb&, bool&) const;
void
extract_modules (action, file&, lorder,
- const file&, auto_rmfile&,
+ const file&, auto_rmfile&, preprocessed,
depdb&, bool&) const;
private: