summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:09:21 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 18:09:21 +0100
commit2b26fff20c1684bc96eac25cfb24e1230f9ca3ce (patch)
tree543c3f01a52b40f195bfabbee80744fa4f8a3556 /src/ctor.h
parent539c127d6c35e07c995d30c55aa600d248ec12e6 (diff)
Rename Flags struct to flags
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();