Commit 0a3d6a19 authored by Peter Kümmel's avatar Peter Kümmel
Browse files

Ninja: make debug symbol suffix configurable by CMAKE_DEBUG_SYMBOL_SUFFIX

parent 75bbffbe
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment