diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2021-04-16 12:39:23 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2021-04-17 09:05:26 (GMT) |
commit | 253aff6c94401f468ea8f9c953d325c5a8c72eb0 (patch) | |
tree | eb747d684e3e544ea2350f58bad201e8a028b90f /Source/cmCustomCommandGenerator.cxx | |
parent | 94fb2516f00fe345326f6a82dc41f2236c481ed3 (diff) | |
download | CMake-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/cmCustomCommandGenerator.cxx')
-rw-r--r-- | Source/cmCustomCommandGenerator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx index 7659792..1054beb 100644 --- a/Source/cmCustomCommandGenerator.cxx +++ b/Source/cmCustomCommandGenerator.cxx @@ -226,6 +226,9 @@ cmCustomCommandGenerator::cmCustomCommandGenerator( case cmDepfileFormat::VsTlog: argv.emplace_back("vstlog"); break; + case cmDepfileFormat::MakeDepfile: + argv.emplace_back("makedepfile"); + break; } argv.push_back(this->LG->GetSourceDirectory()); argv.push_back(this->LG->GetCurrentSourceDirectory()); @@ -430,6 +433,7 @@ std::string cmCustomCommandGenerator::GetInternalDepfileName( std::string extension; switch (*this->LG->GetGlobalGenerator()->DepfileFormat()) { case cmDepfileFormat::GccDepfile: + case cmDepfileFormat::MakeDepfile: extension = ".d"; break; case cmDepfileFormat::VsTlog: |