[Cmake-commits] CMake branch, next, updated. v2.8.8-3488-g57b0834

Peter Kuemmel syntheticpp at gmx.net
Tue Jul 17 05:59:36 EDT 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  57b08342143d28ba54b33427af7067b8e1f2d946 (commit)
       via  0a3d6a19b7355218ebc6de61a501626fa2aceb33 (commit)
      from  4ba1c1fcac91ec82c83ac2c2c37fe9a16894365a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=57b08342143d28ba54b33427af7067b8e1f2d946
commit 57b08342143d28ba54b33427af7067b8e1f2d946
Merge: 4ba1c1f 0a3d6a1
Author:     Peter Kuemmel <syntheticpp at gmx.net>
AuthorDate: Tue Jul 17 05:59:34 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Jul 17 05:59:34 2012 -0400

    Merge topic 'ninja-mingw-TARGET_PDB' into next
    
    0a3d6a1 Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a3d6a19b7355218ebc6de61a501626fa2aceb33
commit 0a3d6a19b7355218ebc6de61a501626fa2aceb33
Author:     Peter Kümmel <syntheticpp at gmx.net>
AuthorDate: Tue Jul 17 11:45:19 2012 +0200
Commit:     Peter Kümmel <syntheticpp at gmx.net>
CommitDate: Tue Jul 17 11:45:19 2012 +0200

    Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX

diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 6d13a9a..d832a4b 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -447,7 +447,11 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
     std::string base;
     std::string suffix;
     this->GetTarget()->GetFullNameComponents(std::string(), base, suffix);
-    vars["TARGET_PDB"] = base + suffix + ".gdb";
+    std::string dbg_suffix = ".dbg";
+    // TODO: Where to document?
+    if (mf->GetDefinition("CMAKE_DEBUG_SYMBOL_SUFFIX"))
+      dbg_suffix = mf->GetDefinition("CMAKE_DEBUG_SYMBOL_SUFFIX");
+    vars["TARGET_PDB"] = base + suffix + dbg_suffix;
     }
 
   if (mf->IsOn("CMAKE_COMPILER_IS_MINGW"))

-----------------------------------------------------------------------

Summary of changes:
 Source/cmNinjaNormalTargetGenerator.cxx |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list