Re: [cmake-developers] Determining version and arch for Visual Studio generators.

2013-04-11 Thread Eric Noulard
2013/4/11 Stephen Kelly > Bill Hoffman wrote: > > >> This might also be generally useful for storing an arch triple on linux > >> systems? Can 32 and 64 bit libs be mixed there? > >> > > I don't think they can be mixed anywhere. > > Great, that means this would be a simple string comparison with

Re: [cmake-developers] Determining version and arch for Visual Studio generators.

2013-04-10 Thread Stephen Kelly
Bill Hoffman wrote: > What about VS 9, seems to be missing? The Qt CI system only tests 2010 and 2012: http://testresults.qt-project.org/ci/QtBase_dev_Integration/latest-success/ The wince70embedded-armv4i-msvc2008_Windows_7 build is currently failing for other reasons, but it's a 'non-enforc

Re: [cmake-developers] Determining version and arch for Visual Studio generators.

2013-04-10 Thread Bill Hoffman
On 4/10/2013 4:45 PM, Stephen Kelly wrote: >I don't think it's unstable, but I do think the version and arch should be >detected somehow. > I take it back. It is not hard coded. It is just matching qt win32-msvc2010, win32-msvc2012 with the correct CMake generator: win32-g++*:CMAKE_GE

Re: [cmake-developers] Determining version and arch for Visual Studio generators.

2013-04-10 Thread Stephen Kelly
Stephen Kelly wrote: > Bill Hoffman wrote: > >> Seems a bit unstable to hard code the version. I wonder if you can >> detect the one that is being used somehow? > > I don't think it's unstable, but I do think the version and arch should be > detected somehow. > > Would it be possible for cmake

[cmake-developers] Determining version and arch for Visual Studio generators.

2013-04-10 Thread Stephen Kelly
Bill Hoffman wrote: > Seems a bit unstable to hard code the version. I wonder if you can > detect the one that is being used somehow? I don't think it's unstable, but I do think the version and arch should be detected somehow. Would it be possible for cmake to run devenv to check the version