From 70317569c6dcd9809ed4a8c425777e653ec6ca08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 18:24:31 +0300 Subject: Add hxx extension for headers --- build2/c/init | 37 ------------------------------------- build2/c/init.cxx | 14 +++++++------- build2/c/init.hxx | 37 +++++++++++++++++++++++++++++++++++++ build2/c/target | 22 ---------------------- build2/c/target.hxx | 22 ++++++++++++++++++++++ 5 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 build2/c/init create mode 100644 build2/c/init.hxx delete mode 100644 build2/c/target create mode 100644 build2/c/target.hxx (limited to 'build2/c') diff --git a/build2/c/init b/build2/c/init deleted file mode 100644 index 3219cd3..0000000 --- a/build2/c/init +++ /dev/null @@ -1,37 +0,0 @@ -// file : build2/c/init -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_C_INIT -#define BUILD2_C_INIT - -#include -#include - -#include - -namespace build2 -{ - namespace c - { - bool - config_init (scope&, - scope&, - const location&, - unique_ptr&, - bool, - bool, - const variable_map&); - - bool - init (scope&, - scope&, - const location&, - unique_ptr&, - bool, - bool, - const variable_map&); - } -} - -#endif // BUILD2_C_INIT diff --git a/build2/c/init.cxx b/build2/c/init.cxx index c5b8ac8..da57223 100644 --- a/build2/c/init.cxx +++ b/build2/c/init.cxx @@ -2,16 +2,16 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include +#include -#include -#include -#include +#include +#include +#include -#include -#include +#include +#include -#include +#include using namespace std; using namespace butl; diff --git a/build2/c/init.hxx b/build2/c/init.hxx new file mode 100644 index 0000000..e18a5df --- /dev/null +++ b/build2/c/init.hxx @@ -0,0 +1,37 @@ +// file : build2/c/init.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_C_INIT_HXX +#define BUILD2_C_INIT_HXX + +#include +#include + +#include + +namespace build2 +{ + namespace c + { + bool + config_init (scope&, + scope&, + const location&, + unique_ptr&, + bool, + bool, + const variable_map&); + + bool + init (scope&, + scope&, + const location&, + unique_ptr&, + bool, + bool, + const variable_map&); + } +} + +#endif // BUILD2_C_INIT_HXX diff --git a/build2/c/target b/build2/c/target deleted file mode 100644 index 5d7566b..0000000 --- a/build2/c/target +++ /dev/null @@ -1,22 +0,0 @@ -// file : build2/c/target -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BUILD2_C_TARGET -#define BUILD2_C_TARGET - -#include -#include - -#include - -namespace build2 -{ - namespace c - { - using cc::h; - using cc::c; - } -} - -#endif // BUILD2_C_TARGET diff --git a/build2/c/target.hxx b/build2/c/target.hxx new file mode 100644 index 0000000..d92405d --- /dev/null +++ b/build2/c/target.hxx @@ -0,0 +1,22 @@ +// file : build2/c/target.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BUILD2_C_TARGET_HXX +#define BUILD2_C_TARGET_HXX + +#include +#include + +#include + +namespace build2 +{ + namespace c + { + using cc::h; + using cc::c; + } +} + +#endif // BUILD2_C_TARGET_HXX -- cgit v1.1