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

Method CustomComponentInstallDirectory

Source/CPack/cmCPackNSISGenerator.cxx:995–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995std::string cmCPackNSISGenerator::CustomComponentInstallDirectory(
996 cm::string_view componentName)
997{
998 cmValue outputDir = this->GetOption(
999 cmStrCat("CPACK_NSIS_", componentName, "_INSTALL_DIRECTORY"));
1000 return outputDir ? *outputDir : "$INSTDIR";
1001}
1002
1003std::string cmCPackNSISGenerator::TranslateNewlines(std::string str)
1004{

Callers 2

PackageFilesMethod · 0.95

Calls 2

cmStrCatFunction · 0.50
GetOptionMethod · 0.45

Tested by

no test coverage detected