Skip to content

Commit

Permalink
feat[msvc] manage vs2022 (14.3) and conan profile (193, 194)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefled committed Oct 21, 2024
1 parent 4163c6f commit 1e7a6eb
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions remaken_arch_define.pri
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,26 @@ isEmpty(REMAKEN_TARGET_PLATFORM) {
}
greaterThan(QMAKE_MSC_VER, 1930) {
# Visual Studio 2022 (14.x with x >= 30) / Visual C++ 19.30 and up
# Note : msvc version set to 14.1 - TODO change to 14.30??
REMAKEN_COMPILER_VER = 14.1
# Note : msvc version set to 14.3
REMAKEN_COMPILER_VER = 14.3
equals(CONAN_MAJOR_VERSION,1) {
CONAN_WIN_COMPILER_VERSION = 17
}
else {
CONAN_WIN_COMPILER_VERSION = 193
}
}
greaterThan(QMAKE_MSC_VER, 1939) {
# Visual Studio 2022 (14.x with x >= 40) / Visual C++ 19.40 and up
# Note : msvc version set to 14.3
REMAKEN_COMPILER_VER = 14.3
equals(CONAN_MAJOR_VERSION,1) {
CONAN_WIN_COMPILER_VERSION = 17
}
else {
CONAN_WIN_COMPILER_VERSION = 194
}
}
}
contains(CONFIG,c++14)|contains(CONFIG,c++1z)|contains(CONFIG,c++17)|contains(CONFIG,c++2a)|contains(CONFIG,c++20) {
contains(CONFIG,c++11) {
Expand Down

0 comments on commit 1e7a6eb

Please sign in to comment.