Move variables around in pdb2gmx
[gromacs.git] / launch-cxx.in
blobec1581147c08fa5c5fe32c1ec3e5018ac6eb152f
1 #!/usr/bin/env bash
2 # Set up compiler wrapper to make it easier to use ccache.
4 # Xcode generator doesn't include the compiler as the
5 # first argument, Ninja and Makefiles do. Handle both cases.
6 if [[ "$1" = "${CMAKE_CXX_COMPILER}" ]] ; then
7 shift
8 fi
10 export CCACHE_CPP2=true
11 exec "${_cxx_launcher}" "${CMAKE_CXX_COMPILER}" "$@"