Commit 33834d43 authored by Moritz Koenig's avatar Moritz Koenig
Browse files

I don't know if we want to keep this, but this way we can compile clang-hash for run-tests again

parent 78bf9111
......@@ -24,3 +24,5 @@ add_library(clang-hash SHARED
hash-visitor.cc)
SET_TARGET_PROPERTIES(clang-hash PROPERTIES LINK_FLAGS ${LLVM_LDFLAGS})
configure_file(clang-hash.in ${PROJECT_BINARY_DIR}/clang-hash)
#!/bin/bash
printf -v ARGS "%q " "$@"
${CMAKE_C_COMPILER} -Xclang -load -Xclang ${PROJECT_BINARY_DIR}/src/libclang-hash.so -Xclang -plugin -Xclang hash-unit -fsyntax-only $ARGS
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment