aboutsummaryrefslogtreecommitdiff
path: root/build2/config
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 18:24:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 19:30:26 +0300
commit70317569c6dcd9809ed4a8c425777e653ec6ca08 (patch)
tree07a538b296933e9e2a1f81088f8fcc8da3f749ad /build2/config
parentcbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff)
Add hxx extension for headers
Diffstat (limited to 'build2/config')
-rw-r--r--build2/config/init.cxx24
-rw-r--r--build2/config/init.hxx (renamed from build2/config/init)14
-rw-r--r--build2/config/module.cxx2
-rw-r--r--build2/config/module.hxx (renamed from build2/config/module)18
-rw-r--r--build2/config/operation.cxx24
-rw-r--r--build2/config/operation.hxx (renamed from build2/config/operation)14
-rw-r--r--build2/config/utility.cxx6
-rw-r--r--build2/config/utility.hxx (renamed from build2/config/utility)16
-rw-r--r--build2/config/utility.txx4
9 files changed, 61 insertions, 61 deletions
diff --git a/build2/config/init.cxx b/build2/config/init.cxx
index 65aa7bb..889285d 100644
--- a/build2/config/init.cxx
+++ b/build2/config/init.cxx
@@ -2,18 +2,18 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/config/init>
-
-#include <build2/file>
-#include <build2/rule>
-#include <build2/scope>
-#include <build2/context>
-#include <build2/filesystem> // exists()
-#include <build2/diagnostics>
-
-#include <build2/config/module>
-#include <build2/config/utility>
-#include <build2/config/operation>
+#include <build2/config/init.hxx>
+
+#include <build2/file.hxx>
+#include <build2/rule.hxx>
+#include <build2/scope.hxx>
+#include <build2/context.hxx>
+#include <build2/filesystem.hxx> // exists()
+#include <build2/diagnostics.hxx>
+
+#include <build2/config/module.hxx>
+#include <build2/config/utility.hxx>
+#include <build2/config/operation.hxx>
using namespace std;
using namespace butl;
diff --git a/build2/config/init b/build2/config/init.hxx
index 7100ab2..45c288b 100644
--- a/build2/config/init
+++ b/build2/config/init.hxx
@@ -1,14 +1,14 @@
-// file : build2/config/init -*- C++ -*-
+// file : build2/config/init.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_CONFIG_INIT
-#define BUILD2_CONFIG_INIT
+#ifndef BUILD2_CONFIG_INIT_HXX
+#define BUILD2_CONFIG_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_CONFIG_INIT
+#endif // BUILD2_CONFIG_INIT_HXX
diff --git a/build2/config/module.cxx b/build2/config/module.cxx
index 6d54e46..19b5125 100644
--- a/build2/config/module.cxx
+++ b/build2/config/module.cxx
@@ -2,7 +2,7 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/config/module>
+#include <build2/config/module.hxx>
using namespace std;
diff --git a/build2/config/module b/build2/config/module.hxx
index 3b58aa0..d997802 100644
--- a/build2/config/module
+++ b/build2/config/module.hxx
@@ -1,20 +1,20 @@
-// file : build2/config/module -*- C++ -*-
+// file : build2/config/module.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_CONFIG_MODULE
-#define BUILD2_CONFIG_MODULE
+#ifndef BUILD2_CONFIG_MODULE_HXX
+#define BUILD2_CONFIG_MODULE_HXX
#include <map>
#include <algorithm> // find_if()
-#include <butl/prefix-map>
+#include <libbutl/prefix-map.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
{
@@ -91,4 +91,4 @@ namespace build2
}
}
-#endif // BUILD2_CONFIG_MODULE
+#endif // BUILD2_CONFIG_MODULE_HXX
diff --git a/build2/config/operation.cxx b/build2/config/operation.cxx
index cf53292..bffc45b 100644
--- a/build2/config/operation.cxx
+++ b/build2/config/operation.cxx
@@ -2,21 +2,21 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/config/operation>
+#include <build2/config/operation.hxx>
#include <set>
-#include <build2/file>
-#include <build2/spec>
-#include <build2/scope>
-#include <build2/target>
-#include <build2/context>
-#include <build2/algorithm>
-#include <build2/filesystem>
-#include <build2/diagnostics>
-
-#include <build2/config/module>
-#include <build2/config/utility>
+#include <build2/file.hxx>
+#include <build2/spec.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/config/module.hxx>
+#include <build2/config/utility.hxx>
using namespace std;
using namespace butl;
diff --git a/build2/config/operation b/build2/config/operation.hxx
index 425869c..bf9403f 100644
--- a/build2/config/operation
+++ b/build2/config/operation.hxx
@@ -1,14 +1,14 @@
-// file : build2/config/operation -*- C++ -*-
+// file : build2/config/operation.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_CONFIG_OPERATION
-#define BUILD2_CONFIG_OPERATION
+#ifndef BUILD2_CONFIG_OPERATION_HXX
+#define BUILD2_CONFIG_OPERATION_HXX
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/operation>
+#include <build2/operation.hxx>
namespace build2
{
@@ -26,4 +26,4 @@ namespace build2
}
}
-#endif // BUILD2_CONFIG_OPERATION
+#endif // BUILD2_CONFIG_OPERATION_HXX
diff --git a/build2/config/utility.cxx b/build2/config/utility.cxx
index ea66e92..c195e0b 100644
--- a/build2/config/utility.cxx
+++ b/build2/config/utility.cxx
@@ -2,11 +2,11 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/config/utility>
+#include <build2/config/utility.hxx>
-#include <build2/context>
+#include <build2/context.hxx>
-#include <build2/config/module>
+#include <build2/config/module.hxx>
using namespace std;
diff --git a/build2/config/utility b/build2/config/utility.hxx
index 041277a..33a3985 100644
--- a/build2/config/utility
+++ b/build2/config/utility.hxx
@@ -1,15 +1,15 @@
-// file : build2/config/utility -*- C++ -*-
+// file : build2/config/utility.hxx -*- C++ -*-
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#ifndef BUILD2_CONFIG_UTILITY
-#define BUILD2_CONFIG_UTILITY
+#ifndef BUILD2_CONFIG_UTILITY_HXX
+#define BUILD2_CONFIG_UTILITY_HXX
-#include <build2/types>
-#include <build2/utility>
+#include <build2/types.hxx>
+#include <build2/utility.hxx>
-#include <build2/variable>
-#include <build2/diagnostics>
+#include <build2/variable.hxx>
+#include <build2/diagnostics.hxx>
namespace build2
{
@@ -149,4 +149,4 @@ namespace build2
#include <build2/config/utility.txx>
-#endif // BUILD2_CONFIG_UTILITY
+#endif // BUILD2_CONFIG_UTILITY_HXX
diff --git a/build2/config/utility.txx b/build2/config/utility.txx
index 1434406..fc21710 100644
--- a/build2/config/utility.txx
+++ b/build2/config/utility.txx
@@ -2,8 +2,8 @@
// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/scope>
-#include <build2/context>
+#include <build2/scope.hxx>
+#include <build2/context.hxx>
namespace build2
{