[Cmake] pb when CC="ccache gcc" (on linux)

Fabrice Bellet fabrice at bellet.info
Fri Feb 21 13:54:12 EST 2003


On Fri, Feb 21, 2003 at 01:12:04PM -0500, Brad King wrote:
> CMake supports compilers that are not in the path, so you could do
> 
> mkdir ${HOME}/foo
> ln -s /usr/bin/ccache ${HOME}/foo/gcc
> ln -s /usr/bin/ccache ${HOME}/foo/g++
> 
> CC=${HOME}/foo/gcc
> CXX=${HOME}/foo/g++

Yes, this possibility works fine.

I can live with this solution. So just consider this bug report as
a suggestion for a future release. I think it'd be more consistent with
other GNU autoconf/automake/libtool tools, if cmake could gracefully 
handle a CC variable with spaces, as it did in the past.

Best wishes,
-- 
fabrice



More information about the CMake mailing list