summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-04-16 12:39:23 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-04-17 09:05:26 (GMT)
commit253aff6c94401f468ea8f9c953d325c5a8c72eb0 (patch)
treeeb747d684e3e544ea2350f58bad201e8a028b90f /Source/cmcmd.cxx
parent94fb2516f00fe345326f6a82dc41f2236c481ed3 (diff)
downloadCMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.zip
CMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.tar.gz
CMake-253aff6c94401f468ea8f9c953d325c5a8c72eb0.tar.bz2
Xcode: Add support of DEPFILE for add_custom_command, part 2
This MR extend the support of 'DEPFILE' to buildsystem version 1. Issue: #20286
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 928435e..2c2ae4d 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -1527,6 +1527,8 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args,
format = cmDepfileFormat::GccDepfile;
} else if (args[3] == "vstlog") {
format = cmDepfileFormat::VsTlog;
+ } else if (args[3] == "makedepfile") {
+ format = cmDepfileFormat::MakeDepfile;
} else {
return 1;
}