mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Ninja: windows msvc: create for each target a .pdb file
This commit is contained in:
@@ -136,6 +136,7 @@ cmNinjaNormalTargetGenerator
|
||||
vars.Target = "$out";
|
||||
vars.TargetSOName = "$SONAME";
|
||||
vars.TargetInstallNameDir = "$INSTALLNAME_DIR";
|
||||
vars.TargetPDB = "$TARGET_PDB";
|
||||
|
||||
// Setup the target version.
|
||||
std::string targetVersionMajor;
|
||||
@@ -361,6 +362,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||
targetOutputImplib.c_str(), cmLocalGenerator::SHELL);
|
||||
}
|
||||
|
||||
vars["TARGET_PDB"] = this->GetTargetPDB();
|
||||
|
||||
std::vector<cmCustomCommand> *cmdLists[3] = {
|
||||
&this->GetTarget()->GetPreBuildCommands(),
|
||||
&this->GetTarget()->GetPreLinkCommands(),
|
||||
|
||||
Reference in New Issue
Block a user