MantisBT - CMake
View Issue Details
0014476CMakeCMakepublic2013-10-11 07:432014-03-05 09:58
Christian Weigel 
Brad King 
normalminoralways
closedfixed 
Windows7
CMake 2.8.11.2 
CMake 3.0CMake 3.0 
0014476: MSVC_IDE and MSVC not set when using Intel Platform Toolset
The cmake documenation says about MSVC_IDE variable:

True when using the Microsoft Visual C IDE
Set to true when the target platform is the Microsoft Visual C IDE, as opposed to the command line compiler.

Thus, when using the Intel Platform toolset with the Visual Studio this variable should be set to true.

Interestingly, during the intial run
-- MSVC=
-- MSVC_IDE=
-- MSVC_VERSION=1600
-- MSVC10=1

the version is set properly while during an update run ALL MSVC variables are empty:

-- MSVC=
-- MSVC_IDE=
-- MSVC_VERSION=
-- MSVC10=



run cmake -T"Intel C++ Compiler XE 13.0" <src_path>

No tags attached.
Issue History
2013-10-11 07:43Christian WeigelNew Issue
2013-10-15 10:08Brad KingNote Added: 0034123
2013-10-15 10:08Brad KingAssigned To => Brad King
2013-10-15 10:08Brad KingStatusnew => resolved
2013-10-15 10:08Brad KingResolutionopen => fixed
2013-10-15 10:08Brad KingFixed in Version => CMake 3.0
2013-10-15 10:08Brad KingTarget Version => CMake 3.0
2013-10-18 10:05Brad KingNote Added: 0034154
2014-03-05 09:58Robert MaynardNote Added: 0035286
2014-03-05 09:58Robert MaynardStatusresolved => closed

Notes
(0034123)
Brad King   
2013-10-15 10:08   
This should be addressed by the following series:

 CMakeDetermineCompilerId: Fix Intel Fortran compiler id detection
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7ff732fa [^]

 VS: Detect Intel Fortran compiler id and version
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d504ec7d [^]

 Intel: When simulating MSVC, re-use Windows-MSVC
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=36d2aa26 [^]

(0034154)
Brad King   
2013-10-18 10:05   
The series took a little more work to support pre-11.0 Intel versions. The following is now in master:

CMakeDetermineCompilerId: Fix Intel Fortran compiler id detection
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2d36c9ab [^]

VS: Expose Intel Fortran .vfproj format version to CMake language
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b8522a8c [^]

VS: Detect Intel Fortran compiler id and version
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=af40e8c3 [^]

Intel: When simulating MSVC, re-use Windows-MSVC (0014476)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a85e17e6 [^]

Intel: Fix detection of MSVC version simulated by pre-11.0 Fortran
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d14898b6 [^]
(0035286)
Robert Maynard   
2014-03-05 09:58   
Closing resolved issues that have not been updated in more than 4 months