Miller Henry wrote:
> We are using cmake 2.8.11 for out project.
> 
> Our local compiler is gcc-4.4.3.  There is desire to use a newer compiler,
> but we are not yet ready to commit to anything yet.  In the mean time we
> have installed binaries gcc-4.7 and gcc-4.8.  We can specify the alternate
> compiler with -DCMAKE_C_COMPILER=gcc-4.7, but we want to go a step farther:
>  one (believed important) advantage of gcc-4.7 is the option -mtune=atom
> since that is are target system. We want to force this option when using
> the newer compiler, but the older version of gcc doesn't accept it.

cmake --help-module CheckCCompilerFlag

Eike
-- 

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to