TUM/2016/ppc/gps/Project.meta

25 lines
654 B
Text
Raw Normal View History

2016-07-03 23:18:54 +02:00
Project {
ExecutableConfig UnitTest {
Files "src/**/*.cpp"
ExcludeFiles "src/ac/*.cpp"
Files "test/**/*.cpp"
IncludeDir "include"
IncludeDir "test/include"
IncludeDir "common/include"
ArtifactName "gpsTests.exe"
PostSteps {
CommandLine "$(OutputDir)/$(ArtifactName) -r xml --out $(OutputDir)/test_$(ArtifactName).xml", filter: run, default: off
}
DefaultToolchain GCC {
Compiler CPP {
Flags "-g -Wall -fpermissive -fmessage-length=0"
Define "UNIT_TEST"
}
Compiler C {
Flags "-g -Wall -fpermissive -fmessage-length=0"
Define "UNIT_TEST"
}
}
}
}