Brad's recently committed and merged to next a topic that does just that.
See the commits in this view:
gitk
e0bc42aa4ff086e9c6976ab91ba924530df0bf72..0df1942a72f1e67c88f0d02dc405fbd76793347a
&
If you are using next, you can inspect the variables
CMAKE_C_COMPILER_VERSION and CMAKE_CXX_COMPILE
Is there a CMake variable for the GCC compiler version if using GCC? I
thought I remember seeing email traffic about something along these lines a
while back, but I can't find the email or documentation describing it (if
it exists).
Thanks,
James
--
Powered by www.kitware.com
Visit other Kitwar