diff options
author | Brad King <brad.king@kitware.com> | 2018-06-01 16:52:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-06-01 16:52:38 (GMT) |
commit | eed0df951d95d48e7856107175a2baba212c3206 (patch) | |
tree | d9ac3ded5ae6899be7188795011743fe3e6da0a6 /Source/cmGeneratorTarget.cxx | |
parent | b671e4799f0e418448681a21120e8e87a97de5dc (diff) | |
parent | d7204e649ed4ebb19bb341b4e49eb51514364922 (diff) | |
download | CMake-eed0df951d95d48e7856107175a2baba212c3206.zip CMake-eed0df951d95d48e7856107175a2baba212c3206.tar.gz CMake-eed0df951d95d48e7856107175a2baba212c3206.tar.bz2 |
Merge topic 'clang-format-6.0'
d7204e649e Revise C++ coding style using clang-format-6.0
12fed3edb1 Empty commit at end of history preceding clang-format-6.0 style transition
523c443d13 clang-format.bash: update to clang-format-6.0
eb7ec19c1c clang-format: Add comments to suppress some formatting
b67a5bf175 Tests/VSWinStorePhone: Do not format managed source
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Sebastian Holtermann <sebholt@xwmw.org>
Merge-request: !2123
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 0c99ed4..b223c5e 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -46,8 +46,9 @@ const char* cmTargetPropertyComputer::GetSources<cmGeneratorTarget>( } template <> -const char* cmTargetPropertyComputer::ComputeLocationForBuild< - cmGeneratorTarget>(cmGeneratorTarget const* tgt) +const char* +cmTargetPropertyComputer::ComputeLocationForBuild<cmGeneratorTarget>( + cmGeneratorTarget const* tgt) { return tgt->GetLocation(""); } @@ -893,8 +894,9 @@ static bool processSources( } if (!usedSources.empty()) { tgt->GetLocalGenerator()->GetCMakeInstance()->IssueMessage( - cmake::LOG, std::string("Used sources for target ") + tgt->GetName() + - ":\n" + usedSources, + cmake::LOG, + std::string("Used sources for target ") + tgt->GetName() + ":\n" + + usedSources, entry->ge->GetBacktrace()); } } @@ -2553,8 +2555,9 @@ static void processIncludeDirectories( } if (!usedIncludes.empty()) { tgt->GetLocalGenerator()->GetCMakeInstance()->IssueMessage( - cmake::LOG, std::string("Used includes for target ") + tgt->GetName() + - ":\n" + usedIncludes, + cmake::LOG, + std::string("Used includes for target ") + tgt->GetName() + ":\n" + + usedIncludes, entry->ge->GetBacktrace()); } } @@ -2661,8 +2664,9 @@ static void processCompileOptionsInternal( } if (!usedOptions.empty()) { tgt->GetLocalGenerator()->GetCMakeInstance()->IssueMessage( - cmake::LOG, std::string("Used compile ") + logName + - std::string(" for target ") + tgt->GetName() + ":\n" + usedOptions, + cmake::LOG, + std::string("Used compile ") + logName + std::string(" for target ") + + tgt->GetName() + ":\n" + usedOptions, entry->ge->GetBacktrace()); } } @@ -3958,8 +3962,9 @@ PropertyType checkInterfacePropertyCompatibility(cmGeneratorTarget const* tgt, e << "Property " << p << " on target \"" << tgt->GetName() << "\" does\nnot match the " "INTERFACE_" - << p << " property requirement\nof " - "dependency \"" + << p + << " property requirement\nof " + "dependency \"" << theTarget->GetName() << "\".\n"; cmSystemTools::Error(e.str().c_str()); break; |