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/libctor.cc | |
parent | 1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff) |
Rename TargetType::Xyz to target_type::xyz
Diffstat (limited to 'src/libctor.cc')
-rw-r--r-- | src/libctor.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libctor.cc b/src/libctor.cc index 83002db..7e39549 100644 --- a/src/libctor.cc +++ b/src/libctor.cc @@ -317,8 +317,8 @@ Options: 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) { unittest_targets.push_back(target); } @@ -340,8 +340,8 @@ Options: 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); } @@ -370,8 +370,8 @@ Options: 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); } |