MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015518 | CMake | CMake | public | 2015-04-17 04:03 | 2015-11-02 09:13 |
Reporter | Paul "TBBle" Hampson | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.2.2 | ||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
Summary | 0015518: PDB_NAME documentation doesn't mention that it uses OUTPUT_NAME if defined | ||||
Description | The PDB_NAME documentation has always stated: This property specifies the base name for the debug symbols file. If not set, the logical target name is used by default. (since 2.8.10 when it was introduced: http://www.cmake.org/cmake/help/v2.8.10/cmake.html#prop_tgt:PDB_NAME [^] up to 3.2: http://www.cmake.org/cmake/help/v3.2/prop_tgt/PDB_NAME.html [^]) However, examining the original commit (http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3f60dbf1#patch7 [^]) shows that it actually uses cmTarget::GetFullNameInternal, which honours OUTPUT_NAME. This is also true of the _<CONFIG> variants. It's correct behaviour, so it's just the documentation that needs updating, hence the given Severity. | ||||
Steps To Reproduce | * Create a target using OUTPUT_NAME that differs from the logical target name. * Generate a Visual Studio solution * Note that the PDB generated is OUTPUT_NAME.pdb, not logicalName.pdb. | ||||
Additional Information | The unit tests don't cover this case, but I expect that a unit test setting OUTPUT_NAME and PDB_NAME would trivially demonstrate the actual behaviour. I assume the text was just copied from the OUTPUT_NAME documentation, which is the only other place that this text appears, and it makes sense there. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-04-17 04:03 | Paul "TBBle" Hampson | New Issue | |||
2015-04-17 11:06 | Brad King | Note Added: 0038538 | |||
2015-04-17 11:06 | Brad King | Assigned To | => Brad King | ||
2015-04-17 11:06 | Brad King | Status | new => resolved | ||
2015-04-17 11:06 | Brad King | Resolution | open => fixed | ||
2015-04-17 11:06 | Brad King | Fixed in Version | => CMake 3.3 | ||
2015-04-17 11:06 | Brad King | Target Version | => CMake 3.3 | ||
2015-11-02 09:13 | Robert Maynard | Note Added: 0039780 | |||
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|