Download cmake/templates/xcode-launch-c.in from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 319 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/cmake/templates/xcode-launch-c.in
- Command line
-
hf download hf://tgollogly/test/cmake/templates/xcode-launch-c.in
-
curl -L -o xcode-launch-c.in https://huggingface.co/tgollogly/test/resolve/main/cmake/templates/xcode-launch-c.in
319 Bytes
| # https://crascit.com/2016/04/09/using-ccache-with-cmake/ | |
| # Xcode generator doesn't include the compiler as the | |
| # first argument, Ninja and Makefiles do. Handle both cases. | |
| if [[ "$1" = "${CMAKE_C_COMPILER}" ]] ; then | |
| shift | |
| fi | |
| export CCACHE_CPP2=true | |
| exec "${CCACHE_PROGRAM}" "${CMAKE_C_COMPILER}" "$@" | |