The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14471 ====================================================================== Reported By: Christian Weigel Assigned To: ====================================================================== Project: CMake Issue ID: 14471 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2013-10-09 11:37 EDT Last Modified: 2013-10-09 11:37 EDT ====================================================================== Summary: -T switch with Intel Compiler does not set CMAKE_CXX_COMPILER properly Description: When specifying the Intel Compiler platform toolset CMAKE_CXX_COMPILER is still set to the MSVC compiler when cmake is run inside the intel compiler command prompt.
Steps to Reproduce: Start Intel Compiler command prompt (e.g. C:\Windows\SysWOW64\cmd.exe /E:ON /V:ON /K ""C:\Program Files (x86)\Intel\Composer XE 2013\bin\ipsxe-comp-vars.bat" ia32 vs2010") run cmake -T"Intel C++ Compiler XE 13.0" <src_path> Additional Information: when verbosing CMAKE_CXX_COMPILER the output of the first run is: -- Building for: Visual Studio 10 -- The C compiler identification is Intel 13.1.0.20130607 -- The CXX compiler identification is Intel 13.1.0.20130607 -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 10 -- Check for working CXX compiler using: Visual Studio 10 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- CMAKE_CXX_COMPILER=c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin /cl.exe ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-10-09 11:37 Christian WeigelNew Issue ====================================================================== -- 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: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
