[CMake] Compiler identification?
Bradley Lowekamp
blowekamp at mail.nih.gov
Fri Jun 7 08:57:46 EDT 2013
Hello,
I need to detect if MS Visual Studio 9 (2008) has SP1 applied. During configuration I see lines like:
-- The C compiler identification is MSVC 15.0.30729.1
or
-- The C compiler identification is MSVC 15.0.21022.8
I am wondering if this information is available as a cmake variable. Or is there some other standard module I should be using? Know I can do a try_run to get it... But that seems excessive.
Thanks,
Brad
More information about the CMake
mailing list