diff options
Diffstat (limited to 'clang/test/CMakeLists.txt')
-rw-r--r-- | clang/test/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 5bdbcd9415a..1e545ef0ea9 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -136,6 +136,10 @@ if (CLANG_ENABLE_STATIC_ANALYZER) endif() endif() +# Copy gen_ast_dump_json_test.py to the clang build dir. This allows invoking +# it without having to pass the --clang= argument +configure_file(AST/gen_ast_dump_json_test.py ${LLVM_TOOLS_BINARY_DIR}/gen_ast_dump_json_test.py COPYONLY) + add_custom_target(clang-test-depends DEPENDS ${CLANG_TEST_DEPS}) set_target_properties(clang-test-depends PROPERTIES FOLDER "Clang tests") |