CMake/Tests/RunCMake/CompilerChange/cc.sh.in
Brad King e83e6a1c8c Test Unix Makefiles generator support for changing compilers
Add RunCMake.CompilerChange test to cover use of -DCMAKE_C_COMPILER=cc
to change the compiler of an existing build tree.  Also test for proper
failure with -DCMAKE_C_COMPILER="" and no CC in the environment.
2013-02-20 08:01:06 -05:00

3 lines
41 B
Bash
Executable File

#!/bin/sh
exec "@CMAKE_C_COMPILER@" "$@"