diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-01 18:24:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-01 19:30:26 +0300 |
commit | 70317569c6dcd9809ed4a8c425777e653ec6ca08 (patch) | |
tree | 07a538b296933e9e2a1f81088f8fcc8da3f749ad /build2/dist | |
parent | cbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff) |
Add hxx extension for headers
Diffstat (limited to 'build2/dist')
-rw-r--r-- | build2/dist/init.cxx | 16 | ||||
-rw-r--r-- | build2/dist/init.hxx (renamed from build2/dist/init) | 14 | ||||
-rw-r--r-- | build2/dist/module.cxx | 2 | ||||
-rw-r--r-- | build2/dist/module.hxx (renamed from build2/dist/module) | 16 | ||||
-rw-r--r-- | build2/dist/operation | 21 | ||||
-rw-r--r-- | build2/dist/operation.cxx | 22 | ||||
-rw-r--r-- | build2/dist/operation.hxx | 21 | ||||
-rw-r--r-- | build2/dist/rule.cxx | 10 | ||||
-rw-r--r-- | build2/dist/rule.hxx (renamed from build2/dist/rule) | 18 |
9 files changed, 70 insertions, 70 deletions
diff --git a/build2/dist/init.cxx b/build2/dist/init.cxx index 41927cd..d002868 100644 --- a/build2/dist/init.cxx +++ b/build2/dist/init.cxx @@ -2,17 +2,17 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <build2/dist/init> +#include <build2/dist/init.hxx> -#include <build2/scope> -#include <build2/file> -#include <build2/diagnostics> +#include <build2/scope.hxx> +#include <build2/file.hxx> +#include <build2/diagnostics.hxx> -#include <build2/config/utility> +#include <build2/config/utility.hxx> -#include <build2/dist/rule> -#include <build2/dist/module> -#include <build2/dist/operation> +#include <build2/dist/rule.hxx> +#include <build2/dist/module.hxx> +#include <build2/dist/operation.hxx> using namespace std; using namespace butl; diff --git a/build2/dist/init b/build2/dist/init.hxx index 67ec0a4..45d47df 100644 --- a/build2/dist/init +++ b/build2/dist/init.hxx @@ -1,14 +1,14 @@ -// file : build2/dist/init -*- C++ -*- +// file : build2/dist/init.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef BUILD2_DIST_INIT -#define BUILD2_DIST_INIT +#ifndef BUILD2_DIST_INIT_HXX +#define BUILD2_DIST_INIT_HXX -#include <build2/types> -#include <build2/utility> +#include <build2/types.hxx> +#include <build2/utility.hxx> -#include <build2/module> +#include <build2/module.hxx> namespace build2 { @@ -28,4 +28,4 @@ namespace build2 } } -#endif // BUILD2_DIST_INIT +#endif // BUILD2_DIST_INIT_HXX diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx index 05ca1cb..4f14ddb 100644 --- a/build2/dist/module.cxx +++ b/build2/dist/module.cxx @@ -2,7 +2,7 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <build2/dist/module> +#include <build2/dist/module.hxx> using namespace std; diff --git a/build2/dist/module b/build2/dist/module.hxx index 5510423..e6eb975 100644 --- a/build2/dist/module +++ b/build2/dist/module.hxx @@ -1,15 +1,15 @@ -// file : build2/dist/module -*- C++ -*- +// file : build2/dist/module.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef BUILD2_DIST_MODULE -#define BUILD2_DIST_MODULE +#ifndef BUILD2_DIST_MODULE_HXX +#define BUILD2_DIST_MODULE_HXX -#include <build2/types> -#include <build2/utility> +#include <build2/types.hxx> +#include <build2/utility.hxx> -#include <build2/module> -#include <build2/variable> +#include <build2/module.hxx> +#include <build2/variable.hxx> namespace build2 { @@ -62,4 +62,4 @@ namespace build2 } } -#endif // BUILD2_DIST_MODULE +#endif // BUILD2_DIST_MODULE_HXX diff --git a/build2/dist/operation b/build2/dist/operation deleted file mode 100644 index 845130f..0000000 --- a/build2/dist/operation +++ /dev/null @@ -1,21 +0,0 @@ -// file : build2/dist/operation -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_DIST_OPERATION -#define BUILD2_DIST_OPERATION - -#include <build2/types> -#include <build2/utility> - -#include <build2/operation> - -namespace build2 -{ - namespace dist - { - extern const meta_operation_info dist; - } -} - -#endif // BUILD2_DIST_OPERATION diff --git a/build2/dist/operation.cxx b/build2/dist/operation.cxx index 859225d..d4ca3c6 100644 --- a/build2/dist/operation.cxx +++ b/build2/dist/operation.cxx @@ -2,20 +2,20 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <build2/dist/operation> +#include <build2/dist/operation.hxx> -#include <butl/filesystem> // path_match() +#include <libbutl/filesystem.hxx> // path_match() -#include <build2/file> -#include <build2/dump> -#include <build2/scope> -#include <build2/target> -#include <build2/context> -#include <build2/algorithm> -#include <build2/filesystem> -#include <build2/diagnostics> +#include <build2/file.hxx> +#include <build2/dump.hxx> +#include <build2/scope.hxx> +#include <build2/target.hxx> +#include <build2/context.hxx> +#include <build2/algorithm.hxx> +#include <build2/filesystem.hxx> +#include <build2/diagnostics.hxx> -#include <build2/dist/module> +#include <build2/dist/module.hxx> using namespace std; using namespace butl; diff --git a/build2/dist/operation.hxx b/build2/dist/operation.hxx new file mode 100644 index 0000000..c72e467 --- /dev/null +++ b/build2/dist/operation.hxx @@ -0,0 +1,21 @@ +// file : build2/dist/operation.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_DIST_OPERATION_HXX +#define BUILD2_DIST_OPERATION_HXX + +#include <build2/types.hxx> +#include <build2/utility.hxx> + +#include <build2/operation.hxx> + +namespace build2 +{ + namespace dist + { + extern const meta_operation_info dist; + } +} + +#endif // BUILD2_DIST_OPERATION_HXX diff --git a/build2/dist/rule.cxx b/build2/dist/rule.cxx index 338f7f9..ab00d41 100644 --- a/build2/dist/rule.cxx +++ b/build2/dist/rule.cxx @@ -2,12 +2,12 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include <build2/dist/rule> +#include <build2/dist/rule.hxx> -#include <build2/scope> -#include <build2/target> -#include <build2/algorithm> -#include <build2/diagnostics> +#include <build2/scope.hxx> +#include <build2/target.hxx> +#include <build2/algorithm.hxx> +#include <build2/diagnostics.hxx> using namespace std; diff --git a/build2/dist/rule b/build2/dist/rule.hxx index 0a5cc3a..0524029 100644 --- a/build2/dist/rule +++ b/build2/dist/rule.hxx @@ -1,16 +1,16 @@ -// file : build2/dist/rule -*- C++ -*- +// file : build2/dist/rule.hxx -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef BUILD2_DIST_RULE -#define BUILD2_DIST_RULE +#ifndef BUILD2_DIST_RULE_HXX +#define BUILD2_DIST_RULE_HXX -#include <build2/types> -#include <build2/utility> +#include <build2/types.hxx> +#include <build2/utility.hxx> -#include <build2/rule> -#include <build2/target> -#include <build2/operation> +#include <build2/rule.hxx> +#include <build2/target.hxx> +#include <build2/operation.hxx> namespace build2 { @@ -37,4 +37,4 @@ namespace build2 } } -#endif // BUILD2_DIST_RULE +#endif // BUILD2_DIST_RULE_HXX |