diff options
author | Brad King <brad.king@kitware.com> | 2012-10-01 18:05:11 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-10-01 18:05:11 (GMT) |
commit | 7dce31f3d03e2202ad54d8b6eb8ab00bce8bbe00 (patch) | |
tree | 88ded98011b9f5b12c3fce3a600d2d0da4ff8846 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 7fc4d8138404f5855630377699a8632d7aa32dcf (diff) | |
parent | 2ccca05fade0014dbfbce906b20ab4073ecd8d9c (diff) | |
download | CMake-7dce31f3d03e2202ad54d8b6eb8ab00bce8bbe00.zip CMake-7dce31f3d03e2202ad54d8b6eb8ab00bce8bbe00.tar.gz CMake-7dce31f3d03e2202ad54d8b6eb8ab00bce8bbe00.tar.bz2 |
Merge topic 'vs-pdb-output'
2ccca05 Run PDBDirectoryAndName test on MSVC and Intel
efc83b3 Document that PDB_(NAME|OUTPUT_DIRECTORY) are ignored for VS 6
b294457 Verify that PDB_(NAME|OUTPUT_DIRECTORY) are honored in test
3f60dbf Add PDB_OUTPUT_DIRECTORY and PDB_NAME target properties (#10830)
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 368d6fc..cb2b8c8 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -328,8 +328,12 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules } } + std::string pdbOutputPath = this->Target->GetPDBDirectory(); + cmSystemTools::MakeDirectory(pdbOutputPath.c_str()); + pdbOutputPath += "/"; + std::string targetFullPath = outpath + targetName; - std::string targetFullPathPDB = outpath + targetNamePDB; + std::string targetFullPathPDB = pdbOutputPath + targetNamePDB; std::string targetFullPathSO = outpath + targetNameSO; std::string targetFullPathReal = outpath + targetNameReal; std::string targetFullPathImport = outpathImp + targetNameImport; |