Commit ea7e4206 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

wrappers: ccache wrapper

parent c6dc85d9
......@@ -5,11 +5,21 @@ configure_file( ${PROJECT_BINARY_DIR}/wrappers/clang-hash)
configure_file( ${PROJECT_BINARY_DIR}/wrappers/clang-hash-collect)
# These wrappers can be used for the actual (re)compilation of whole procects.
# - clang-normal: normal clang operation; no speedup
# - clang-ccache: ccache assisted clang
# - clang-hash-stop: clang-hash assisted clang
COMMAND "${CMAKE_COMMAND}" "-E" "create_symlink"
find_program(CCACHE NAMES "ccache")
message(ERROR "CCACHE not found")
configure_file( ${PROJECT_BINARY_DIR}/wrappers/clang-ccache)
configure_file( ${PROJECT_BINARY_DIR}/wrappers/clang-hash-stop)
#!/usr/bin/env bash
printf -v ARGS "%q " "$@"
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