[cmake-developers] CheckGNUCompilerVersion
Andreas Schneider
mail at cynapses.org
Thu Apr 15 14:27:30 EDT 2010
Hi,
I've created a module to check for the gnu compiler version.
Example:
check_gnu_compiler_version("4.5.0" HAVE_GNU_COMPILER_VERSION)
if (HAVE_GNU_COMPILER_VERSION)
message(STATUS "GNU compiler version found")
endif (HAVE_GNU_COMPILER_VERSION)
I just wanted to get some opinions about it. Maybe someone has some idea for
improvement.
Cheers,
-- andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CheckGNUCompilerVersion.cmake
Type: text/x-cmake
Size: 1827 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20100415/54709c76/attachment.bin>
More information about the cmake-developers
mailing list