summaryrefslogtreecommitdiff
path: root/Tests/PDBDirectoryAndName
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-25 14:36:03 -0400
committerBrad King <brad.king@kitware.com>2012-09-25 15:23:35 -0400
commitefc83b369b26624e7f0fb90d9125ef5ec6d1f7fa (patch)
treee8a44e68eb8f3149e6873a36914fd8cde3e1140e /Tests/PDBDirectoryAndName
parentb294457e2b96f40d01a22b867666277495977fa8 (diff)
downloadcmake-efc83b369b26624e7f0fb90d9125ef5ec6d1f7fa.tar.gz
Document that PDB_(NAME|OUTPUT_DIRECTORY) are ignored for VS 6
Diffstat (limited to 'Tests/PDBDirectoryAndName')
-rw-r--r--Tests/PDBDirectoryAndName/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/PDBDirectoryAndName/CMakeLists.txt b/Tests/PDBDirectoryAndName/CMakeLists.txt
index a9d46ca58e..865d27872f 100644
--- a/Tests/PDBDirectoryAndName/CMakeLists.txt
+++ b/Tests/PDBDirectoryAndName/CMakeLists.txt
@@ -53,6 +53,11 @@ target_link_libraries(myexe2 mylibA mylibD)
#-----------------------------------------------------------------------------
# Check that PDB files actually appear where expected.
+# The PDB_NAME and PDB_OUTPUT_DIRECTORY options do not work in VS 6.
+if("${CMAKE_GENERATOR}" MATCHES "Visual Studio 6")
+ return()
+endif()
+
set(pdbs "")
foreach(t ${my_targets})
get_property(pdb_name TARGET ${t} PROPERTY PDB_NAME)