mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-27 00:28:49 +03:00
Rename forge to cc in buildfiles
This commit is contained in:
parent
738caed5f7
commit
a3561e72c2
1 changed files with 8 additions and 10 deletions
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
for _, forge in toolsets('cc.*') do
|
||||
local forge = forge:inherit {
|
||||
for _, cc in toolsets('cc.*') do
|
||||
local cc = cc:inherit {
|
||||
warning_level = 0;
|
||||
};
|
||||
|
||||
local library = forge:StaticLibrary '${lib}/UnitTest++_${architecture}' {
|
||||
forge:Cxx '${obj}/%1' {
|
||||
local library = cc:StaticLibrary '${lib}/UnitTest++_${platform}_${architecture}' {
|
||||
cc:Cxx '${obj}/%1' {
|
||||
'RequiredCheckException.cpp',
|
||||
'RequiredCheckTestReporter.cpp',
|
||||
'CompositeTestReporter.cpp',
|
||||
|
|
@ -29,17 +29,15 @@ for _, forge in toolsets('cc.*') do
|
|||
};
|
||||
};
|
||||
|
||||
if forge:platform_matches('windows') then
|
||||
if cc:platform_matches('windows') then
|
||||
library {
|
||||
forge:Cxx '${obj}/%1' {
|
||||
cc:Cxx '${obj}/%1' {
|
||||
'Win32/TimeHelpers.cpp'
|
||||
};
|
||||
};
|
||||
end
|
||||
|
||||
if forge:platform_matches('macos') or forge:platform_matches('linux') then
|
||||
elseif cc:platform_matches('macos') or cc:platform_matches('linux') then
|
||||
library {
|
||||
forge:Cxx '${obj}/%1' {
|
||||
cc:Cxx '${obj}/%1' {
|
||||
'Posix/SignalTranslator.cpp',
|
||||
'Posix/TimeHelpers.cpp'
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue