summaryrefslogtreecommitdiff
path: root/cppbuild.cc
blob: 275512fbc788dd92c1e76cd7b3c0d887ae820699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <vector>
#include <string>
#include <utility>

#include "libcppbuild.h"

BuildConfiguration configs()
{
	return
	{
		// target
		"bas",
		{
			// source files
			"src/foo.cc",
			"src/bar.cc",
		},
		// cxx flags
		"-g -Wall -Werror -std=c++17",
		// c flags
		"-g -Wall -Werror",
		// linker flags
		"-lm",
	};
}