diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-05 11:55:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-05 11:55:15 +0200 |
commit | 9fb791e9fad6c63fc1dac49f4d05ae63b8a3db9b (patch) | |
tree | d60322d4382ca5f97b676c5abe2e39524f35eab4 /build/spec | |
parent | f159b1dac68c8714f7ba71ca168e3b695891aad9 (diff) |
Rename build directory/namespace to build2
Diffstat (limited to 'build/spec')
-rw-r--r-- | build/spec | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/build/spec b/build/spec deleted file mode 100644 index f50110b..0000000 --- a/build/spec +++ /dev/null @@ -1,61 +0,0 @@ -// file : build/spec -*- C++ -*- -// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD_SPEC -#define BUILD_SPEC - -#include <string> -#include <vector> -#include <iosfwd> -#include <utility> // move() - -#include <build/types> - -namespace build -{ - struct targetspec - { - typedef build::name name_type; - - explicit - targetspec (name_type n): name (std::move (n)) {} - targetspec (dir_path sb, name_type n) - : src_base (std::move (sb)), name (std::move (n)) {} - - dir_path src_base; - name_type name; - }; - - struct opspec: std::vector<targetspec> - { - opspec () = default; - opspec (std::string n): name (std::move (n)) {} - - std::string name; - }; - - struct metaopspec: std::vector<opspec> - { - metaopspec () = default; - metaopspec (std::string n): name (std::move (n)) {} - - std::string name; - }; - - typedef std::vector<metaopspec> buildspec; - - std::ostream& - operator<< (std::ostream&, const targetspec&); - - std::ostream& - operator<< (std::ostream&, const opspec&); - - std::ostream& - operator<< (std::ostream&, const metaopspec&); - - std::ostream& - operator<< (std::ostream&, const buildspec&); -} - -#endif // BUILD_SPEC |