mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
Merge topic 'AddCommentsToExportsFile'
4b1919f
ExportTargets: add one more comment to the generated file.
This commit is contained in:
commit
cb57ce249e
@ -792,7 +792,9 @@ void cmExportFileGenerator::GenerateImportVersionCode(std::ostream& os)
|
||||
void cmExportFileGenerator::GenerateExpectedTargetsCode(std::ostream& os,
|
||||
const std::string &expectedTargets)
|
||||
{
|
||||
os << "set(_targetsDefined)\n"
|
||||
os << "# Protect against multiple inclusion, which would fail when already "
|
||||
"imported targets are added once more.\n"
|
||||
"set(_targetsDefined)\n"
|
||||
"set(_targetsNotDefined)\n"
|
||||
"set(_expectedTargets)\n"
|
||||
"foreach(_expectedTarget " << expectedTargets << ")\n"
|
||||
|
Loading…
Reference in New Issue
Block a user