Skip to content

Commit

Permalink
Added support for Visual Studio 2022 (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre authored Aug 18, 2021
1 parent 776f199 commit be72696
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions foreign_cc/cmake.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ cmake(
name = "hello",
# This option can be omitted
generate_args = [
"-G \\"Visual Studio 15 2017\\"",
"-G \\"Visual Studio 16 2019\\"",
"-A Win64",
],
lib_source = ":srcs",
Expand Down Expand Up @@ -287,8 +287,8 @@ def _get_generator_target(ctx):
"Green Hills MULTI",
"MinGW Makefiles",
"MSYS Makefiles",
"Ninja",
"Ninja Multi-Config",
"Ninja",
"NMake Makefiles JOM",
"NMake Makefiles",
"Unix Makefiles",
Expand All @@ -298,6 +298,7 @@ def _get_generator_target(ctx):
"Visual Studio 14 2015",
"Visual Studio 15 2017",
"Visual Studio 16 2019",
"Visual Studio 17 2022",
"Visual Studio 9 2008",
"Watcom WMake",
"Xcode",
Expand Down

0 comments on commit be72696

Please sign in to comment.