diff options
author | Brad King <brad.king@kitware.com> | 2020-03-11 15:45:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-03-13 13:55:36 (GMT) |
commit | 5932f0be4f36f97fcd3ab61a559379a2a1291371 (patch) | |
tree | 41c666f30a0a36bdec6fe5ca0cf08b395e05f506 /Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake | |
parent | 0d0aa98c84bca35431f4239e45956c9d24967af4 (diff) | |
download | CMake-5932f0be4f36f97fcd3ab61a559379a2a1291371.zip CMake-5932f0be4f36f97fcd3ab61a559379a2a1291371.tar.gz CMake-5932f0be4f36f97fcd3ab61a559379a2a1291371.tar.bz2 |
ASM: Fix depfile flags for GNU 'as' tool
The GNU `as --help` shows `--MD <file>` as an option to generate depfiles
as needed by Ninja. There is no `-MT <target>` flag but fortunately the
generated files automatically account for the `-o <obj>` flag.
Issue: #20426
Diffstat (limited to 'Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake')
-rw-r--r-- | Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake b/Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake new file mode 100644 index 0000000..15a5e96 --- /dev/null +++ b/Tests/RunCMake/BuildDepends/GNU-AS.step1.cmake @@ -0,0 +1 @@ +file(WRITE "${RunCMake_TEST_BINARY_DIR}/gnu_as.inc" "") |