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/ctor.h | |
parent | 1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (diff) |
Rename TargetType::Xyz to target_type::xyz
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |