Merge pull request #5217 from VladiMihaylenko/master

[xcode] Attempt to optimize debug configuration.
This commit is contained in:
Sergey Yershov 2017-01-18 20:48:51 +03:00 committed by GitHub
commit 05f96c2c87
3 changed files with 3 additions and 5 deletions

View file

@ -35,11 +35,9 @@ void Spline::AddPoint(PointD const & pt)
{
/// TODO remove this check when fix generator.
/// Now we have line objects with zero length segments
/// https://jira.mail.ru/browse/MAPSME-3561
if (!IsEmpty() && (pt - m_position.back()).IsAlmostZero())
{
LOG(LDEBUG, ("Found a zero-length segment (the endpoints coincide)"));
return;
}
if(IsEmpty())
m_position.push_back(pt);

View file

@ -738,7 +738,7 @@
/* Begin XCBuildConfiguration section */
6729A4FA1A691F6A007D5872 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 34AF87C91DBE4F4900E5E7DC /* common-debug.xcconfig */;
baseConfigurationReference = 34AF87CA1DBE4F4900E5E7DC /* common-release.xcconfig */;
buildSettings = {
GCC_OPTIMIZATION_LEVEL = 2;
HEADER_SEARCH_PATHS = (

View file

@ -968,7 +968,7 @@
/* Begin XCBuildConfiguration section */
6709473C1BDF9B82005014C0 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 34AF87CB1DBE508400E5E7DC /* common-debug.xcconfig */;
baseConfigurationReference = 34AF87CC1DBE508400E5E7DC /* common-release.xcconfig */;
buildSettings = {
GCC_OPTIMIZATION_LEVEL = 2;
HEADER_SEARCH_PATHS = (