summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-10 14:16:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-03-10 14:16:23 (GMT)
commit1ed74b9d228a076b2b0ad4476ea9013cf143354e (patch)
tree7cba7f480a54b612265b84dfa181c43801bbb0a4 /Modules/CMakeDetermineCompilerId.cmake
parent030ec94780b7aaf0c495bfb5d6c7e12071342dfd (diff)
parentb42866a34a742f89a35382d17d58070c73486d92 (diff)
downloadCMake-1ed74b9d228a076b2b0ad4476ea9013cf143354e.zip
CMake-1ed74b9d228a076b2b0ad4476ea9013cf143354e.tar.gz
CMake-1ed74b9d228a076b2b0ad4476ea9013cf143354e.tar.bz2
Merge topic 'remove-vs6-generator'
b42866a3 Drop Visual Studio 6 generator cd9ba3ec cmLocalVisualStudio7Generator: Fix name of helper function
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index fbfd7a9..b1a2cf2 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -149,11 +149,7 @@ Id flags: ${testflags}
")
# Compile the compiler identification source.
- if(CMAKE_GENERATOR STREQUAL "Visual Studio 6" AND
- lang STREQUAL "Fortran")
- set(CMAKE_${lang}_COMPILER_ID_RESULT 1)
- set(CMAKE_${lang}_COMPILER_ID_OUTPUT "No Intel Fortran in VS 6")
- elseif("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([0-9]+)")
+ if("${CMAKE_GENERATOR}" MATCHES "Visual Studio ([0-9]+)")
set(vs_version ${CMAKE_MATCH_1})
set(id_platform ${CMAKE_VS_PLATFORM_NAME})
set(id_lang "${lang}")
@@ -179,13 +175,10 @@ Id flags: ${testflags}
elseif(NOT "${vs_version}" VERSION_LESS 10)
set(v 10)
set(ext vcxproj)
- elseif(NOT "${vs_version}" VERSION_LESS 7)
+ else()
set(id_version ${vs_version}.00)
set(v 7)
set(ext vcproj)
- else()
- set(v 6)
- set(ext dsp)
endif()
if(CMAKE_VS_PLATFORM_TOOLSET)
if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android")
@@ -239,8 +232,6 @@ Id flags: ${testflags}
)
elseif(CMAKE_VS_DEVENV_COMMAND)
set(command "${CMAKE_VS_DEVENV_COMMAND}" "CompilerId${lang}.${ext}" "/build" "Debug")
- elseif(CMAKE_VS_MSDEV_COMMAND)
- set(command "${CMAKE_VS_MSDEV_COMMAND}" "CompilerId${lang}.${ext}" "/make")
else()
set(command "")
endif()