diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-12-27 12:58:11 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-12-27 12:58:11 +0100 |
commit | de26eed5157a1b5efc2a72668b4f4a22638f2774 (patch) | |
tree | 0a9c23232d4f5aa5f26b54ef8facd4d527d5e63a | |
parent | 52775a29b431b346bf201877159b6abcfb982990 (diff) |
Rename libctor.h to ctor.h
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | ctor.cc | 2 | ||||
-rw-r--r-- | examples/cppbuild.cc | 2 | ||||
-rw-r--r-- | examples/ctor.cc | 2 | ||||
-rw-r--r-- | examples/subdir/ctor.cc | 2 | ||||
-rw-r--r-- | src/bootstrap.cc | 2 | ||||
-rw-r--r-- | src/build.cc | 2 | ||||
-rw-r--r-- | src/configure.cc | 4 | ||||
-rw-r--r-- | src/ctor.h (renamed from src/libctor.h) | 0 | ||||
-rw-r--r-- | src/externals_manual.cc | 2 | ||||
-rw-r--r-- | src/libctor.cc | 2 | ||||
-rw-r--r-- | src/rebuild.cc | 2 | ||||
-rw-r--r-- | src/rebuild.h | 2 | ||||
-rw-r--r-- | src/task.h | 2 | ||||
-rw-r--r-- | src/task_ar.cc | 2 | ||||
-rw-r--r-- | src/task_cc.cc | 2 | ||||
-rw-r--r-- | src/task_fn.cc | 2 | ||||
-rw-r--r-- | src/task_ld.cc | 2 | ||||
-rw-r--r-- | src/task_so.cc | 2 | ||||
-rw-r--r-- | src/tasks.cc | 2 | ||||
-rw-r--r-- | src/tools.h | 2 | ||||
-rw-r--r-- | src/util.h | 2 | ||||
-rw-r--r-- | test/ctor.cc | 2 | ||||
-rw-r--r-- | test/source_type_test.cc | 2 | ||||
-rw-r--r-- | test/suite/ctor_files/ctor.cc.bar | 2 | ||||
-rw-r--r-- | test/suite/ctor_files/ctor.cc.base | 2 | ||||
-rw-r--r-- | test/suite/ctor_files/ctor.cc.multi | 2 | ||||
-rw-r--r-- | test/tasks_test.cc | 2 |
28 files changed, 28 insertions, 28 deletions
@@ -16,7 +16,7 @@ Step 1: Create a build configuration, in C++ A really simple example ('hello_config.cc'): ```c++ -#include "libctor.h" +#include "ctor.h" namespace { @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include <libctor.h> +#include <ctor.h> namespace { diff --git a/examples/cppbuild.cc b/examples/cppbuild.cc index eafac8d..9e1014f 100644 --- a/examples/cppbuild.cc +++ b/examples/cppbuild.cc @@ -1,4 +1,4 @@ -#include "libctor.h" +#include "ctor.h" namespace { diff --git a/examples/ctor.cc b/examples/ctor.cc index 1a02e90..6ed8c6c 100644 --- a/examples/ctor.cc +++ b/examples/ctor.cc @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include "libctor.h" +#include "ctor.h" namespace { diff --git a/examples/subdir/ctor.cc b/examples/subdir/ctor.cc index b5f5885..2e3de9f 100644 --- a/examples/subdir/ctor.cc +++ b/examples/subdir/ctor.cc @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include "../libctor.h" +#include "../ctor.h" namespace { diff --git a/src/bootstrap.cc b/src/bootstrap.cc index 9a3c321..9079092 100644 --- a/src/bootstrap.cc +++ b/src/bootstrap.cc @@ -6,7 +6,7 @@ #define BOOTSTRAP -#include "libctor.h" +#include "ctor.h" #include "util.cc" #include "rebuild.cc" diff --git a/src/build.cc b/src/build.cc index 98952e0..5ea1a13 100644 --- a/src/build.cc +++ b/src/build.cc @@ -11,7 +11,7 @@ #include <thread> #include <list> -#include "libctor.h" +#include "ctor.h" using namespace std::chrono_literals; diff --git a/src/configure.cc b/src/configure.cc index a81f8ad..86538ab 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -11,7 +11,7 @@ #include <getoptpp/getoptpp.hpp> #include "execute.h" -#include "libctor.h" +#include "ctor.h" #include "tasks.h" #include "rebuild.h" #include "externals.h" @@ -379,7 +379,7 @@ int regenerateCache(const Settings& default_settings, std::cout << "Writing results to: " << configurationFile.string() << "\n"; { std::ofstream istr(configurationFile); - istr << "#include <libctor.h>\n\n"; + istr << "#include <ctor.h>\n\n"; istr << "const Configuration& configuration()\n"; istr << "{\n"; istr << " static Configuration cfg =\n"; diff --git a/src/libctor.h b/src/ctor.h index 96e1115..96e1115 100644 --- a/src/libctor.h +++ b/src/ctor.h diff --git a/src/externals_manual.cc b/src/externals_manual.cc index 0e3cdfd..3f00698 100644 --- a/src/externals_manual.cc +++ b/src/externals_manual.cc @@ -5,7 +5,7 @@ #include <map> -#include "libctor.h" +#include "ctor.h" #include "util.h" #include "tools.h" diff --git a/src/libctor.cc b/src/libctor.cc index d188771..45fc94d 100644 --- a/src/libctor.cc +++ b/src/libctor.cc @@ -19,7 +19,7 @@ #include <getoptpp/getoptpp.hpp> -#include "libctor.h" +#include "ctor.h" #include "configure.h" #include "rebuild.h" #include "tasks.h" diff --git a/src/rebuild.cc b/src/rebuild.cc index 9ddf5ba..7155984 100644 --- a/src/rebuild.cc +++ b/src/rebuild.cc @@ -10,7 +10,7 @@ #include <cstring> #include "configure.h" -#include "libctor.h" +#include "ctor.h" #include "tasks.h" #include "build.h" #include "execute.h" diff --git a/src/rebuild.h b/src/rebuild.h index f1255c6..afa2307 100644 --- a/src/rebuild.h +++ b/src/rebuild.h @@ -6,7 +6,7 @@ #include <vector> #include <array> -#include "libctor.h" +#include "ctor.h" class Settings; @@ -10,7 +10,7 @@ #include <memory> #include <filesystem> -#include "libctor.h" +#include "ctor.h" enum class State { diff --git a/src/task_ar.cc b/src/task_ar.cc index 3e1746c..1e6b278 100644 --- a/src/task_ar.cc +++ b/src/task_ar.cc @@ -6,7 +6,7 @@ #include <iostream> #include <fstream> -#include "libctor.h" +#include "ctor.h" #include "execute.h" #include "util.h" diff --git a/src/task_cc.cc b/src/task_cc.cc index c4343b6..d1b89ce 100644 --- a/src/task_cc.cc +++ b/src/task_cc.cc @@ -7,7 +7,7 @@ #include <fstream> #include <cassert> -#include "libctor.h" +#include "ctor.h" #include "execute.h" #include "util.h" #include "tools.h" diff --git a/src/task_fn.cc b/src/task_fn.cc index ab00fae..4ff692d 100644 --- a/src/task_fn.cc +++ b/src/task_fn.cc @@ -7,7 +7,7 @@ #include <fstream> #include <cassert> -#include "libctor.h" +#include "ctor.h" #include "execute.h" #include "util.h" diff --git a/src/task_ld.cc b/src/task_ld.cc index 20e823d..b5b762f 100644 --- a/src/task_ld.cc +++ b/src/task_ld.cc @@ -6,7 +6,7 @@ #include <iostream> #include <fstream> -#include "libctor.h" +#include "ctor.h" #include "execute.h" #include "util.h" #include "tools.h" diff --git a/src/task_so.cc b/src/task_so.cc index 8c6dbd4..4779321 100644 --- a/src/task_so.cc +++ b/src/task_so.cc @@ -6,7 +6,7 @@ #include <iostream> #include <fstream> -#include "libctor.h" +#include "ctor.h" #include "execute.h" #include "util.h" #include "tools.h" diff --git a/src/tasks.cc b/src/tasks.cc index 68b2476..12ff399 100644 --- a/src/tasks.cc +++ b/src/tasks.cc @@ -9,7 +9,7 @@ #include <iostream> #include <algorithm> -#include "libctor.h" +#include "ctor.h" #include "task.h" #include "task_cc.h" #include "task_ld.h" diff --git a/src/tools.h b/src/tools.h index 39118d2..c346cbf 100644 --- a/src/tools.h +++ b/src/tools.h @@ -6,7 +6,7 @@ #include <vector> #include <string> -#include "libctor.h" +#include "ctor.h" enum class ToolChain { @@ -3,7 +3,7 @@ // See accompanying file LICENSE for details. #pragma once -#include "libctor.h" +#include "ctor.h" #include <string> #include <filesystem> diff --git a/test/ctor.cc b/test/ctor.cc index 9b690a2..e6d9734 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include <libctor.h> +#include <ctor.h> namespace { diff --git a/test/source_type_test.cc b/test/source_type_test.cc index ed7e783..ce1923e 100644 --- a/test/source_type_test.cc +++ b/test/source_type_test.cc @@ -1,6 +1,6 @@ #include <uunit.h> -#include <libctor.h> +#include <ctor.h> #include <task_cc.h> std::ostream& operator<<(std::ostream& stream, const Language& lang) diff --git a/test/suite/ctor_files/ctor.cc.bar b/test/suite/ctor_files/ctor.cc.bar index 92456cb..d63b5e8 100644 --- a/test/suite/ctor_files/ctor.cc.bar +++ b/test/suite/ctor_files/ctor.cc.bar @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include <libctor.h> +#include <ctor.h> //#include "config.h" namespace diff --git a/test/suite/ctor_files/ctor.cc.base b/test/suite/ctor_files/ctor.cc.base index 6c60513..3de099d 100644 --- a/test/suite/ctor_files/ctor.cc.base +++ b/test/suite/ctor_files/ctor.cc.base @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include <libctor.h> +#include <ctor.h> //#include "config.h" namespace diff --git a/test/suite/ctor_files/ctor.cc.multi b/test/suite/ctor_files/ctor.cc.multi index 9db2517..d18d0d5 100644 --- a/test/suite/ctor_files/ctor.cc.multi +++ b/test/suite/ctor_files/ctor.cc.multi @@ -1,7 +1,7 @@ // -*- c++ -*- // Distributed under the BSD 2-Clause License. // See accompanying file LICENSE for details. -#include <libctor.h> +#include <ctor.h> //#include "config.h" #include "foobar.h" diff --git a/test/tasks_test.cc b/test/tasks_test.cc index 2e0ffc7..a660994 100644 --- a/test/tasks_test.cc +++ b/test/tasks_test.cc @@ -1,6 +1,6 @@ #include <uunit.h> -#include <libctor.h> +#include <ctor.h> #include <tasks.h> namespace |