[CMake] Finding out gcc version

Andreas Schneider mail at cynapses.org
Wed Jan 16 06:25:53 EST 2008


Andreas Pakulat wrote:
> Hi,
> 
> does anybody know of a "built-in" way of determining the c++ compiler
> version? Specifically for GNU gcc?
> 
> Or do I have to run CMAKE_CXX_COMPILER with --version and extract the
> information myself?

http://dev.openwengo.org/trac/openwengo/trac.fcgi/browser/owbuild/trunk/owbuild/owbuild/OWGetGCCVersion.cmake

and

http://dev.openwengo.org/trac/openwengo/trac.fcgi/browser/owbuild/trunk/owbuild/owbuild/OWDetectSystem.cmake

> 
> Andreas
> 

	-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20080116/61762db8/signature.pgp


More information about the CMake mailing list