24 lines
654 B
Text
24 lines
654 B
Text
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"
|
|
}
|
|
}
|
|
}
|
|
}
|