summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 549efb4..30a563c 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -58,7 +58,7 @@ struct source
std::string output{};
};
-struct Flags
+struct flags
{
std::vector<std::string> cxxflags; // flags for c++ compiler
std::vector<std::string> cflags; // flags for c compiler
@@ -87,7 +87,7 @@ struct BuildConfiguration
std::string target; // Output target file for this configuration
std::vector<ctor::source> sources; // source list
std::vector<std::string> depends; // internal target dependencies
- Flags flags;
+ ctor::flags flags;
std::vector<std::string> externals; // externals used by this configuration
GeneratorCb function;
};
@@ -100,7 +100,7 @@ int reg(BuildConfigurations (*cb)(const Settings&),
// This type will use flags verbatim
struct ExternalManual
{
- Flags flags;
+ ctor::flags flags;
};
@@ -147,7 +147,7 @@ struct Configuration
std::map<std::string, std::string> env; // env used when last calling configure
std::map<std::string, std::string> tools; // tools
- std::map<std::string, Flags> externals;
+ std::map<std::string, ctor::flags> externals;
};
const Configuration& configuration();