summaryrefslogtreecommitdiff
path: root/libcppbuild.h
blob: 1076bb71518a0a81d915a16679cbb353a2c7b9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// -*- 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;
};

int reg(const char* location, std::vector<BuildConfiguration> (*cb)());