diff options
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 |