Re: [CMake] MSVC_VERSION for VC11?

2012-03-06 Thread Robert Dailey
I actually need to check the compiler version for ABI compatibility reasons. I download my third party libraries via CMake script and I check the current compiler version so I know which DLLs to download :P Unfortunately C++ name mangling is not standardized so this is necessary. Also it is

[CMake] MSVC_VERSION for VC11?

2012-03-05 Thread Robert Dailey
I'm assuming MSVC_VERSION will be 1700 for MSVC11. Is this correct? - Robert Dailey -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at:

Re: [CMake] MSVC_VERSION for VC11?

2012-03-05 Thread David Cole
Correct. Partial output from 'git grep MSVC_VERSION' in the CMake source tree: $ git grep MSVC_VERSION ... Modules/CMakeVS10FindMake.cmake:SET(MSVC_VERSION 1600) Modules/CMakeVS11FindMake.cmake:SET(MSVC_VERSION 1700) Modules/CMakeVS6FindMake.cmake:SET(MSVC_VERSION 1200)

Re: [CMake] MSVC_VERSION for VC11?

2012-03-05 Thread Eric Noulard
2012/3/5 Robert Dailey rcdai...@gmail.com: The docs aren't updated to reflect this so I just wanted to make sure. Patch for documentation may be accepted as well :-] I didn't have time to run through the source code (you Linux people and your fancy 'git grep' commands :P ) You Windows people

Re: [CMake] MSVC_VERSION for VC11?

2012-03-05 Thread Andreas Pakulat
On 05.03.12 14:14:13, Robert Dailey wrote: The docs aren't updated to reflect this so I just wanted to make sure. I didn't have time to run through the source code (you Linux people and your fancy 'git grep' commands :P ) You know git including git grep also works on windows (and no I'm not