summaryrefslogtreecommitdiff
path: root/src/libctor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libctor.cc')
-rw-r--r--src/libctor.cc12
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);
}