blob: c5312cd1439c8fb485eb14784809dd6c51fd51df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
target "libgenetic.a"
{
rule "lib";
input files("src/*.cpp");
CXXFLAGS += "-I. -ggdb";
}
for src in files("src/tests/*.cpp") do
{
target src.replace("src/","").replace(".cpp","")
{
rule "exe";
input src;
requires "libgenetic.a";
CXXFLAGS += "-I. -ggdb";
LDFLAGS += "-L. -lgenetic -lbu++ -ggdb";
}
}
|