[CMake] Finding out gcc version

Andreas Pakulat apaku at gmx.de
Wed Jan 16 16:02:31 EST 2008


On 16.01.08 12:25:53, Andreas Schneider wrote:
> Andreas Pakulat wrote:
> > 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

Yeah, I had hoped that I wouldn't need this :(

Andreas

-- 
You're being followed.  Cut out the hanky-panky for a few days.


More information about the CMake mailing list