diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-16 10:35:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-16 18:15:18 +0200 |
commit | ece4003beebd23082a5fd7a324de40c5572161d1 (patch) | |
tree | 44597a24266b31e55b27b7393d2d20c729603d95 /build2/spec | |
parent | d2b324a72fdf16fcd68e6ba7ca0280aa95de4b71 (diff) |
Add support for passing parameters to (meta-) operations
Diffstat (limited to 'build2/spec')
-rw-r--r-- | build2/spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/spec b/build2/spec index 92b56ec..3ec4689 100644 --- a/build2/spec +++ b/build2/spec @@ -8,6 +8,8 @@ #include <build2/types> #include <build2/utility> +#include <build2/variable> + namespace build2 { class scope; @@ -37,6 +39,7 @@ namespace build2 opspec (string n): name (move (n)) {} string name; + values params; }; struct metaopspec: vector<opspec> @@ -45,6 +48,7 @@ namespace build2 metaopspec (string n): name (move (n)) {} string name; + values params; }; typedef vector<metaopspec> buildspec; |