diff options
author | Brad King <brad.king@kitware.com> | 2018-09-19 14:38:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-09-19 14:38:19 (GMT) |
commit | ec9ef691feab1ae8fc4209330af91169b4faa076 (patch) | |
tree | 874d27896aa0aee1fa34170352f4847b29262561 /Source/cmGlobalNinjaGenerator.cxx | |
parent | c0cedaa6435d2eb1a49afab1eaa08ba3cd40290e (diff) | |
parent | 638f00117a8166702950a6c730fdfa453f788659 (diff) | |
download | CMake-ec9ef691feab1ae8fc4209330af91169b4faa076.zip CMake-ec9ef691feab1ae8fc4209330af91169b4faa076.tar.gz CMake-ec9ef691feab1ae8fc4209330af91169b4faa076.tar.bz2 |
Merge topic 'provide_explicit_source_and_build_command_line_options'
638f00117a Add release note for the -S and -B options.
de962cc00d CMake: Internally uses -S instead of -H to specify source directory
a10d63d578 cmake: -S and -B can be used to specify source and build directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2358
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 4948c73..f513403 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1340,7 +1340,7 @@ void cmGlobalNinjaGenerator::WriteTargetRebuildManifest(std::ostream& os) std::ostringstream cmd; cmd << lg->ConvertToOutputFormat(cmSystemTools::GetCMakeCommand(), cmOutputConverter::SHELL) - << " -H" + << " -S" << lg->ConvertToOutputFormat(lg->GetSourceDirectory(), cmOutputConverter::SHELL) << " -B" |