MCPcopy Create free account
hub / github.com/Kitware/CMake / GenerateImportVersionCode

Method GenerateImportVersionCode

Source/cmExportCMakeConfigGenerator.cxx:215–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void cmExportCMakeConfigGenerator::GenerateImportVersionCode(std::ostream& os)
216{
217 // Store an import file format version. This will let us change the
218 // format later while still allowing old import files to work.
219 os << "# Commands may need to know the format version.\n"
220 "set(CMAKE_IMPORT_FILE_VERSION 1)\n"
221 "\n";
222}
223
224void cmExportCMakeConfigGenerator::GenerateExpectedTargetsCode(
225 std::ostream& os, std::string const& expectedTargets)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected