Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
33834d43
Commit
33834d43
authored
Mar 16, 2016
by
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
33834d43
...
...
@@ -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
)
src/clang-hash.in
0 → 100755
View file @
33834d43
#!/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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment