tests: gcc version is now specified upon building
git-svn-id: http://pugixml.googlecode.com/svn/trunk@427 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
2412872c09
commit
dd9de685eb
@ -41,7 +41,7 @@ else
|
|||||||
BUILD = build/$(toolset)/standard/$(configuration) ;
|
BUILD = build/$(toolset)/standard/$(configuration) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $(toolset:I=^mingw) || $(toolset) = gcc )
|
if ( $(toolset:I=^mingw) || $(toolset:I=^gcc) )
|
||||||
{
|
{
|
||||||
CCFLAGS = -fprofile-arcs -ftest-coverage ;
|
CCFLAGS = -fprofile-arcs -ftest-coverage ;
|
||||||
LDFLAGS = -fprofile-arcs ;
|
LDFLAGS = -fprofile-arcs ;
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
# Rules for Jamfile.jam
|
# Rules for Jamfile.jam
|
||||||
|
|
||||||
if ( $(toolset:I=^mingw) || $(toolset) = "gcc" )
|
if ( $(toolset:I=^mingw) || $(toolset:I^=gcc) )
|
||||||
{
|
{
|
||||||
if ( $(toolset) = "gcc" )
|
if ( $(toolset:I^=gcc) )
|
||||||
{
|
{
|
||||||
GCCPATH = "" ;
|
GCCPATH = "" ;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,8 +15,13 @@ sub permute
|
|||||||
@result;
|
@result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub gcctoolset
|
||||||
|
{
|
||||||
|
return 'gcc' . `gcc -dumpversion`;
|
||||||
|
}
|
||||||
|
|
||||||
$fast = (shift eq 'fast');
|
$fast = (shift eq 'fast');
|
||||||
@toolsets = ($^O =~ /win/i) ? (bcc, cw, dmc, ic8, mingw34, mingw44, mingw45, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64) : (gcc);
|
@toolsets = ($^O =~ /win/i) ? (bcc, cw, dmc, ic8, mingw34, mingw44, mingw45, msvc6, msvc7, msvc71, msvc8, msvc8_x64, msvc9, msvc9_x64, msvc10, msvc10_x64) : (&gcctoolset());
|
||||||
@configurations = (debug, release);
|
@configurations = (debug, release);
|
||||||
@defines = (PUGIXML_NO_XPATH, PUGIXML_NO_EXCEPTIONS, PUGIXML_NO_STL, PUGIXML_WCHAR_MODE);
|
@defines = (PUGIXML_NO_XPATH, PUGIXML_NO_EXCEPTIONS, PUGIXML_NO_STL, PUGIXML_WCHAR_MODE);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user