summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCustomCommandGenerator.cxx6
-rw-r--r--Source/cmTransformDepfile.cxx34
-rw-r--r--Source/cmTransformDepfile.h1
-rw-r--r--Source/cmcmd.cxx2
4 files changed, 0 insertions, 43 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx
index 77779ba..10a6491 100644
--- a/Source/cmCustomCommandGenerator.cxx
+++ b/Source/cmCustomCommandGenerator.cxx
@@ -227,9 +227,6 @@ cmCustomCommandGenerator::cmCustomCommandGenerator(
case cmDepfileFormat::GccDepfile:
argv.emplace_back("gccdepfile");
break;
- case cmDepfileFormat::VsTlog:
- argv.emplace_back("vstlog");
- break;
case cmDepfileFormat::MakeDepfile:
argv.emplace_back("makedepfile");
break;
@@ -440,9 +437,6 @@ std::string cmCustomCommandGenerator::GetInternalDepfileName(
case cmDepfileFormat::MakeDepfile:
extension = ".d";
break;
- case cmDepfileFormat::VsTlog:
- extension = ".tlog";
- break;
}
return cmStrCat(this->LG->GetBinaryDirectory(), "/CMakeFiles/d/",
hash.HashString(depfile), extension);
diff --git a/Source/cmTransformDepfile.cxx b/Source/cmTransformDepfile.cxx
index 6927300..0df9550 100644
--- a/Source/cmTransformDepfile.cxx
+++ b/Source/cmTransformDepfile.cxx
@@ -78,37 +78,6 @@ void WriteDepfile(cmDepfileFormat format, cmsys::ofstream& fout,
}
}
}
-
-// tlog format : always windows paths on Windows regardless the generator
-std::string ConvertToTLogOutputPath(const std::string& path)
-{
-#if defined(_WIN32) && !defined(__CYGWIN__)
- return cmSystemTools::ConvertToWindowsOutputPath(path);
-#else
- return cmSystemTools::ConvertToOutputPath(path);
-#endif
-}
-
-void WriteVsTlog(cmsys::ofstream& fout, const cmLocalGenerator& lg,
- const cmGccDepfileContent& content)
-{
- for (auto const& dep : content) {
- fout << '^';
- bool first = true;
- for (auto const& rule : dep.rules) {
- if (!first) {
- fout << '|';
- }
- first = false;
- fout << ConvertToTLogOutputPath(lg.MaybeRelativeToTopBinDir(rule));
- }
- fout << "\r\n";
- for (auto const& path : dep.paths) {
- fout << ConvertToTLogOutputPath(lg.MaybeRelativeToTopBinDir(path))
- << "\r\n";
- }
- }
-}
}
bool cmTransformDepfile(cmDepfileFormat format, const cmLocalGenerator& lg,
@@ -133,9 +102,6 @@ bool cmTransformDepfile(cmDepfileFormat format, const cmLocalGenerator& lg,
case cmDepfileFormat::MakeDepfile:
WriteDepfile(format, fout, lg, content);
break;
- case cmDepfileFormat::VsTlog:
- WriteVsTlog(fout, lg, content);
- break;
}
return true;
}
diff --git a/Source/cmTransformDepfile.h b/Source/cmTransformDepfile.h
index c31e4ab..ce7cd66 100644
--- a/Source/cmTransformDepfile.h
+++ b/Source/cmTransformDepfile.h
@@ -7,7 +7,6 @@
enum class cmDepfileFormat
{
GccDepfile,
- VsTlog,
MakeDepfile
};
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 727e412..84ac189 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1529,8 +1529,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args,
auto format = cmDepfileFormat::GccDepfile;
if (args[3] == "gccdepfile") {
format = cmDepfileFormat::GccDepfile;
- } else if (args[3] == "vstlog") {
- format = cmDepfileFormat::VsTlog;
} else if (args[3] == "makedepfile") {
format = cmDepfileFormat::MakeDepfile;
} else {