summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-10-01 18:05:11 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-10-01 18:05:11 (GMT)
commit7dce31f3d03e2202ad54d8b6eb8ab00bce8bbe00 (patch)
tree88ded98011b9f5b12c3fce3a600d2d0da4ff8846 /Source/cmTarget.h
parent7fc4d8138404f5855630377699a8632d7aa32dcf (diff)
parent2ccca05fade0014dbfbce906b20ab4073ecd8d9c (diff)
downloadCMake-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/cmTarget.h')
-rw-r--r--Source/cmTarget.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 1f6bb46..558bfab 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -291,6 +291,12 @@ public:
output directory is given. */
std::string GetDirectory(const char* config = 0, bool implib = false);
+ /** Get the directory in which this targets .pdb files will be placed.
+ If the configuration name is given then the generator will add its
+ subdirectory for that configuration. Otherwise just the canonical
+ pdb output directory is given. */
+ std::string GetPDBDirectory(const char* config = 0);
+
/** Get the location of the target in the build tree for the given
configuration. This location is suitable for use as the LOCATION
target property. */
@@ -571,6 +577,7 @@ private:
struct OutputInfo;
OutputInfo const* GetOutputInfo(const char* config);
bool ComputeOutputDir(const char* config, bool implib, std::string& out);
+ void ComputePDBOutputDir(const char* config, std::string& out);
// Cache import information from properties for each configuration.
struct ImportInfo;