summaryrefslogtreecommitdiff
path: root/src/libctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libctor.h')
-rw-r--r--src/libctor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libctor.h b/src/libctor.h
index 0af33cb..721ac6a 100644
--- a/src/libctor.h
+++ b/src/libctor.h
@@ -7,6 +7,7 @@
#include <string>
#include <vector>
#include <map>
+#include <variant>
enum class TargetType
{
@@ -70,12 +71,17 @@ using BuildConfigurations = std::vector<BuildConfiguration>;
int reg(BuildConfigurations (*cb)(),
const std::source_location location = std::source_location::current());
+// This type will use flags verbatim
+struct ExternalManual
+{
+ Flags flags;
+};
+
struct ExternalConfiguration
{
std::string name; // Name for configuration
- Flags flags;
- std::vector<std::string> libs; // libraries
+ std::variant<ExternalManual> external;
};
using ExternalConfigurations = std::vector<ExternalConfiguration>;