diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 17:47:30 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 17:47:30 +0100 |
commit | 75d1fa7244b9c5cddae056a281f457dd1e81cfb2 (patch) | |
tree | 7a01afcc48a52ec500e0ede5dabaa517c952c7f1 /src/bootstrap.cc | |
parent | 1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff) |
Rename TargetType::Xyz to target_type::xyz
Diffstat (limited to 'src/bootstrap.cc')
-rw-r--r-- | src/bootstrap.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bootstrap.cc b/src/bootstrap.cc index 3a73cc6..3e0adf8 100644 --- a/src/bootstrap.cc +++ b/src/bootstrap.cc @@ -23,8 +23,8 @@ std::filesystem::path configurationFile("configuration.cc"); std::filesystem::path configHeaderFile("config.h"); namespace ctor { -const ctor::Configuration default_configuration{}; -const ctor::Configuration& configuration() +const Configuration default_configuration{}; +const Configuration& configuration() { return default_configuration; } @@ -81,8 +81,8 @@ int main(int argc, char* argv[]) auto& targets = getTargets(settings); for(const auto& target : targets) { - if(target.config.type != TargetType::UnitTest && - target.config.type != TargetType::UnitTestLib) + if(target.config.type != ctor::target_type::unit_test && + target.config.type != ctor::target_type::unit_test_library) { non_unittest_targets.push_back(target); } |