Document that PDB_(NAME|OUTPUT_DIRECTORY) are ignored for VS 6
This commit is contained in:
parent
b294457e2b
commit
efc83b369b
|
@ -746,12 +746,16 @@ void cmTarget::DefineProperties(cmake *cm)
|
|||
"Output name for MS debug symbols .pdb file.",
|
||||
"Set the base name for debug symbols file created for an "
|
||||
"executable or library target. "
|
||||
"If not set, the logical target name is used by default.");
|
||||
"If not set, the logical target name is used by default. "
|
||||
"\n"
|
||||
"This property is not implemented by the Visual Studio 6 generator.");
|
||||
|
||||
cm->DefineProperty
|
||||
("PDB_NAME_<CONFIG>", cmProperty::TARGET,
|
||||
"Per-configuration name for MS debug symbols .pdb file. ",
|
||||
"This is the configuration-specific version of PDB_NAME.");
|
||||
"This is the configuration-specific version of PDB_NAME. "
|
||||
"\n"
|
||||
"This property is not implemented by the Visual Studio 6 generator.");
|
||||
|
||||
cm->DefineProperty
|
||||
("PRE_INSTALL_SCRIPT", cmProperty::TARGET,
|
||||
|
@ -1208,7 +1212,9 @@ void cmTarget::DefineProperties(cmake *cm)
|
|||
"This property specifies the directory into which the MS debug symbols "
|
||||
"will be placed. "
|
||||
"This property is initialized by the value of the variable "
|
||||
"CMAKE_PDB_OUTPUT_DIRECTORY if it is set when a target is created.");
|
||||
"CMAKE_PDB_OUTPUT_DIRECTORY if it is set when a target is created."
|
||||
"\n"
|
||||
"This property is not implemented by the Visual Studio 6 generator.");
|
||||
cm->DefineProperty
|
||||
("PDB_OUTPUT_DIRECTORY_<CONFIG>", cmProperty::TARGET,
|
||||
"Per-configuration output directory for MS debug symbols .pdb files.",
|
||||
|
@ -1217,7 +1223,9 @@ void cmTarget::DefineProperties(cmake *cm)
|
|||
"a per-configuration subdirectory to the specified directory. "
|
||||
"This property is initialized by the value of the variable "
|
||||
"CMAKE_PDB_OUTPUT_DIRECTORY_<CONFIG> "
|
||||
"if it is set when a target is created.");
|
||||
"if it is set when a target is created."
|
||||
"\n"
|
||||
"This property is not implemented by the Visual Studio 6 generator.");
|
||||
|
||||
cm->DefineProperty
|
||||
("ARCHIVE_OUTPUT_NAME", cmProperty::TARGET,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue