blob: a052ac8b92e090474d5748138d81caf87d50be92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// -*- c++ -*-
#pragma once
#include <string>
#include <vector>
//#include <source_location>
struct BuildConfiguration
{
std::string target;
std::vector<std::string> sources;
std::vector<std::string> depends;
std::vector<std::string> cxxflags;
std::vector<std::string> cflags;
std::vector<std::string> ldflags;
};
using BuildConfigurations = std::vector<BuildConfiguration>;
int reg(const char* location, BuildConfigurations (*cb)());
|