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

Method cmFileInstaller

Source/cmFileInstaller.cxx:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using namespace cmFSPermissions;
24
25cmFileInstaller::cmFileInstaller(cmExecutionStatus& status)
26 : cmFileCopier(status, "INSTALL")
27{
28 // Installation does not use source permissions by default.
29 this->UseSourcePermissions = false;
30 // Check whether to copy files always or only if they have changed.
31 std::string install_always;
32 if (cmSystemTools::GetEnv("CMAKE_INSTALL_ALWAYS", install_always)) {
33 this->Always = cmIsOn(install_always);
34 }
35 // Get the current manifest.
36 this->Manifest =
37 this->Makefile->GetSafeDefinition("CMAKE_INSTALL_MANIFEST_FILES");
38}
39cmFileInstaller::~cmFileInstaller()
40{
41 // Save the updated install manifest.

Callers

nothing calls this directly

Calls 1

cmIsOnFunction · 0.85

Tested by

no test coverage detected