CMake/Tests/RunCMake/Ninja
Bernhard Burgermeister 5e0e03d953 Ninja: Fix command concatenation on Windows
Put commands that contain `||` into brackets to avoid early abort of
execution by `cmd.exe` because `||` has higher precedence than `&&` in
`cmd.exe`.

Add test to check for command execution after `||` as part of a
parameter and as command separator.

Fixes: #16850
2017-05-09 11:34:42 -04:00
..
SubDir Ninja: Add $subdir/{test,install,package} targets 2016-08-09 15:15:24 -04:00
SubDirPrefix Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
SubDirSource Ninja: Use binary dir for $subdir/all targets 2016-10-24 10:30:02 -04:00
AssumedSources.cmake RunCMake.Ninja: add a test for assumed sources 2017-04-21 08:57:40 -04:00
CheckNoPrefixSubDir.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CheckNoPrefixSubDirScript.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CheckOutput.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
CMakeLists.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-common.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no-build-result.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no-build-stderr.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-NEW-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-no-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-OLD-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-by-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-by.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no-build-stdout.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no-stderr.txt Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CMP0058-WARN-no.cmake Ninja: Add policy to require explicit custom command byproducts 2015-03-20 17:40:12 -04:00
CommandConcat.cmake Ninja: Fix command concatenation on Windows 2017-05-09 11:34:42 -04:00
CustomCommandDepfile-check.cmake add_custom_command: Add DEPFILE option for Ninja 2016-08-30 09:05:18 -04:00
CustomCommandDepfile.cmake add_custom_command: Add DEPFILE option for Ninja 2016-08-30 09:05:18 -04:00
CustomCommandWorkingDirectory.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
dep.c ninja: break unnecessary target dependencies 2017-04-21 08:57:40 -04:00
Executable.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting2.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting2.h Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
greeting.h Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_sub_greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_with_greeting.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello_with_two_greetings.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
hello.c Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
LooseObjectDepends.cmake ninja: break unnecessary target dependencies 2017-04-21 08:57:40 -04:00
NinjaToolMissing-result.txt Ninja: Fail early on when ninja build tool does not run 2016-10-20 11:04:21 -04:00
NinjaToolMissing-stderr.txt Ninja: Fail early on when ninja build tool does not run 2016-10-20 11:04:21 -04:00
NinjaToolMissing.cmake Ninja: Fail early on when ninja build tool does not run 2016-10-20 11:04:21 -04:00
RunCMakeTest.cmake Ninja: Fix command concatenation on Windows 2017-05-09 11:34:42 -04:00
SharedLib.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
StaticLib.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
SubDir-build-stdout.txt Ninja: Add test for $subdir/all targets 2016-03-22 08:01:14 -04:00
SubDir-install-stdout.txt Ninja: Add $subdir/{test,install,package} targets 2016-08-09 15:15:24 -04:00
SubDir-test-stdout.txt Ninja: Add $subdir/{test,install,package} targets 2016-08-09 15:15:24 -04:00
SubDir.cmake Ninja: Use binary dir for $subdir/all targets 2016-10-24 10:30:02 -04:00
SubDirBinary-build-stdout.txt Ninja: Use binary dir for $subdir/all targets 2016-10-24 10:30:02 -04:00
SubDirBinary-install-stdout.txt Ninja: Use binary dir for $subdir/all targets 2016-10-24 10:30:02 -04:00
SubDirBinary-test-stdout.txt Ninja: Use binary dir for $subdir/all targets 2016-10-24 10:30:02 -04:00
SubDirPrefix.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00
top.c ninja: break unnecessary target dependencies 2017-04-21 08:57:40 -04:00
TwoLibs.cmake Ninja: Support embedding of CMake as subninja project 2016-05-17 09:34:12 -04:00