cmLocalGenerator: add an override for CMakeFiles-using paths

Visual Studio doesn't use a `CMakeFiles` subdirectory for its support
directories. However, some codepaths expect to use paths which are
always under `CMakeFiles`. Add a mechanism to keep the path for such
files.
This commit is contained in:
Ben Boeckel
2025-05-23 15:22:35 +02:00
parent 35d32b8741
commit c95a8348ce
8 changed files with 31 additions and 6 deletions
+5
View File
@@ -89,6 +89,11 @@ std::string cmLocalVisualStudioGenerator::GetObjectOutputRoot() const
return this->GetCurrentBinaryDirectory();
}
bool cmLocalVisualStudioGenerator::AlwaysUsesCMFPaths() const
{
return false;
}
std::unique_ptr<cmCustomCommand>
cmLocalVisualStudioGenerator::MaybeCreateImplibDir(cmGeneratorTarget* target,
std::string const& config,