Skip to content

STYLE: Remove CMake checks on old MSVC versions (before version 1910)#3335

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Remove-old-CMake-MSVC-version-checks
Mar 25, 2022
Merged

STYLE: Remove CMake checks on old MSVC versions (before version 1910)#3335
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:masterfrom
N-Dekker:Remove-old-CMake-MSVC-version-checks

Conversation

@N-Dekker
Copy link
Copy Markdown
Contributor

@N-Dekker N-Dekker commented Mar 24, 2022

ITKv5.3 requires at least MSVC version 1910 (Visual Studio 2017) now, so it is no longer useful to check if MSVC_VERSION GREATER_EQUAL 1600, or 1800, or MSVC_VERSION GREATER 1310.

Checks on CMAKE_COMPILER_2005 (Visual Studio 2005) are also obsolete.

Follow-up to pull request #2563 commit 4e812d6 "COMP: Require compiler versions that support C++14" (merged on 3 June 2021)

ITKv5.3 requires at least MSVC version 1910 (Visual Studio 2017) now, so
it is no longer useful to check if `MSVC_VERSION GREATER_EQUAL 1600`, or
`1800`, or `MSVC_VERSION GREATER 1310`.

Checks on `CMAKE_COMPILER_2005` (Visual Studio 2005) are also obsolete.

Follow-up to:

pull request InsightSoftwareConsortium#2563
commit 4e812d6
"COMP: Require compiler versions that support C++14"
(merged on on 3 June 2021)
@github-actions github-actions bot added area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Registration Issues affecting the Registration module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Style Style changes: no logic impact (indentation, comments, naming) labels Mar 24, 2022
@N-Dekker N-Dekker marked this pull request as ready for review March 25, 2022 11:04
@hjmjohnson hjmjohnson merged commit f9e6ca6 into InsightSoftwareConsortium:master Mar 25, 2022
@N-Dekker N-Dekker deleted the Remove-old-CMake-MSVC-version-checks branch March 25, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Registration Issues affecting the Registration module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Style Style changes: no logic impact (indentation, comments, naming)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants