mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
Use latest Forge with toolsets and global API
This commit is contained in:
parent
ddb1915495
commit
e7be220c36
2 changed files with 33 additions and 31 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
for _, forge in forge:builds('cc.*') do
|
||||
for _, forge in toolsets('cc.*') do
|
||||
local forge = forge:inherit {
|
||||
warning_level = 0;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,35 +1,37 @@
|
|||
|
||||
local forge = forge:build('cc.*'):inherit {
|
||||
warning_level = 0;
|
||||
}
|
||||
for _, forge in toolsets('cc.*') do
|
||||
local forge = forge:inherit {
|
||||
warning_level = 0;
|
||||
};
|
||||
|
||||
forge:all {
|
||||
forge:Executable '${bin}/TestUnitTest++' {
|
||||
'${lib}/UnitTest++_${architecture}';
|
||||
forge:all {
|
||||
forge:Executable '${bin}/TestUnitTest++' {
|
||||
'${lib}/UnitTest++_${architecture}';
|
||||
|
||||
forge:Cxx '${obj}/%1' {
|
||||
'Main.cpp',
|
||||
'TestAssertHandler.cpp',
|
||||
'TestCheckMacros.cpp',
|
||||
'TestChecks.cpp',
|
||||
'TestCompositeTestReporter.cpp',
|
||||
'TestCurrentTest.cpp',
|
||||
'TestDeferredTestReporter.cpp',
|
||||
'TestExceptions.cpp',
|
||||
'TestLongMacros.cpp',
|
||||
'TestMemoryOutStream.cpp',
|
||||
'TestRequireMacrosWithExceptionsOff.cpp',
|
||||
'TestRequireMacrosWithExceptionsOn.cpp',
|
||||
'TestTest.cpp',
|
||||
'TestTestList.cpp',
|
||||
'TestTestMacros.cpp',
|
||||
'TestTestResults.cpp',
|
||||
'TestTestRunner.cpp',
|
||||
'TestTestSuite.cpp',
|
||||
'TestTimeConstraint.cpp',
|
||||
'TestTimeConstraintMacro.cpp',
|
||||
'TestUnitTestPP.cpp',
|
||||
'TestXmlTestReporter.cpp'
|
||||
forge:Cxx '${obj}/%1' {
|
||||
'Main.cpp',
|
||||
'TestAssertHandler.cpp',
|
||||
'TestCheckMacros.cpp',
|
||||
'TestChecks.cpp',
|
||||
'TestCompositeTestReporter.cpp',
|
||||
'TestCurrentTest.cpp',
|
||||
'TestDeferredTestReporter.cpp',
|
||||
'TestExceptions.cpp',
|
||||
'TestLongMacros.cpp',
|
||||
'TestMemoryOutStream.cpp',
|
||||
'TestRequireMacrosWithExceptionsOff.cpp',
|
||||
'TestRequireMacrosWithExceptionsOn.cpp',
|
||||
'TestTest.cpp',
|
||||
'TestTestList.cpp',
|
||||
'TestTestMacros.cpp',
|
||||
'TestTestResults.cpp',
|
||||
'TestTestRunner.cpp',
|
||||
'TestTestSuite.cpp',
|
||||
'TestTimeConstraint.cpp',
|
||||
'TestTimeConstraintMacro.cpp',
|
||||
'TestUnitTestPP.cpp',
|
||||
'TestXmlTestReporter.cpp'
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue