summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 9770c09..2fefac3 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -13,17 +13,17 @@
namespace ctor {
-enum class TargetType
+enum class target_type
{
- Auto, // Default - deduce from target name and sources extensions
-
- Executable,
- StaticLibrary,
- DynamicLibrary,
- Object,
- UnitTest,
- UnitTestLib,
- Function,
+ automatic, // Default - deduce from target name and sources extensions
+
+ executable,
+ static_library,
+ dynamic_library,
+ object,
+ unit_test,
+ unit_test_library,
+ function,
};
enum class Language
@@ -82,7 +82,7 @@ using GeneratorCb = std::function<int(const std::string& input,
struct BuildConfiguration
{
std::string name; // Name - used for referring in other configurations.
- TargetType type{TargetType::Auto};
+ ctor::target_type type{ctor::target_type::automatic};
OutputSystem system{OutputSystem::Host};
std::string target; // Output target file for this configuration
std::vector<Source> sources; // source list