CTest unknown target
Closed this issue · 3 comments
mark2185 commented
Describe the bug
When running CTest
with the ninja
generator the testing fails with
|| ninja: Entering directory `/Users/mark/workspace/build/project/clang/Release'
|| ninja: error: unknown target 'ARGS='
Actual command that was run:
:Dispatch cmake --build /Users/mark/workspace/build/project/clang/Release --target test -- -C /Users/mark/workspace/build/project/clang/Release ARGS=""
To Reproduce
Steps to reproduce the behavior:
- Run
:CMake
and:CMakeBuild
- Run
:CTest
- See error
Expected behavior
I would expect that it behaves the same as running ctest
in the build directory.
Desktop:
- OS: macOS
- Editor: terminal vim ( installed
macvim
throughbrew
) - Version: 8.2
mark2185 commented
Works great, thanks!