|
11 | 11 | # CMake-generated project formats that have been tested with JCEF include: |
12 | 12 | # |
13 | 13 | # Linux: Ninja, GCC 7.5.0+, Unix Makefiles |
14 | | -# MacOS: Ninja, Xcode 12.2 to 13.0 |
15 | | -# Windows: Ninja, Visual Studio 2019+ |
| 14 | +# MacOS: Ninja, Xcode 13.3 to 16.4 |
| 15 | +# Windows: Ninja, Visual Studio 2022 |
16 | 16 | # |
17 | 17 | # Ninja is a cross-platform open-source tool for running fast builds using |
18 | 18 | # pre-installed platform toolchains (GNU, clang, Xcode or MSVC). It can be |
|
23 | 23 | # |
24 | 24 | # The below requirements must be met to build JCEF. |
25 | 25 | # |
26 | | -# - CMake version 3.19 or newer. |
| 26 | +# - CMake version 3.21 or newer. |
27 | 27 | # |
28 | 28 | # - Linux requirements: |
29 | 29 | # Currently supported distributions include Debian 10 (Buster), Ubuntu 18 |
|
35 | 35 | # libgtk3.0-dev (required by the cefclient target only) |
36 | 36 | # |
37 | 37 | # - MacOS requirements: |
38 | | -# Xcode 12.2 to 13.0 building on MacOS 10.15.4 (Catalina) or newer. Only |
39 | | -# 64-bit builds are supported. The Xcode command-line tools must also be |
40 | | -# installed. Newer Xcode versions may not have been been tested and are not |
41 | | -# recommended. |
| 38 | +# Xcode 13.5 to 16.4 building on MacOS 12.0 (Monterey) or newer. The Xcode |
| 39 | +# command-line tools must also be installed. Newer Xcode versions may not have |
| 40 | +# been been tested and are not recommended. |
42 | 41 | # |
43 | 42 | # - Windows requirements: |
44 | | -# Visual Studio 2019 or newer building on Windows 7 or newer. Windows 10 |
45 | | -# 64-bit is recommended. Newer versions will likely also work but may not have |
46 | | -# been tested. |
| 43 | +# Visual Studio 2022 building on Windows 10 or newer. Windows 10/11 64-bit is |
| 44 | +# recommended. Newer versions will likely also work but may not have been |
| 45 | +# tested. |
47 | 46 | # |
48 | 47 | # BUILD EXAMPLES |
49 | 48 | # |
|
86 | 85 | # > ninja |
87 | 86 | # |
88 | 87 | # To perform a Windows build using a 32-bit CEF binary distribution: |
89 | | -# Using the Visual Studio 2019 IDE: |
90 | | -# > cmake -G "Visual Studio 16" -A Win32 .. |
| 88 | +# Using the Visual Studio 2022 IDE: |
| 89 | +# > cmake -G "Visual Studio 17" -A Win32 .. |
91 | 90 | # Open jcef.sln in Visual Studio and select Build > Build Solution. |
92 | 91 | # |
93 | | -# Using Ninja with Visual Studio 2019 command-line tools: |
| 92 | +# Using Ninja with Visual Studio 2022 command-line tools: |
94 | 93 | # (this path may be different depending on your Visual Studio installation) |
95 | | -# > "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars32.bat" |
| 94 | +# > "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars32.bat" |
96 | 95 | # > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug .. |
97 | 96 | # > ninja |
98 | 97 | # |
99 | 98 | # To perform a Windows build using a 64-bit CEF binary distribution: |
100 | | -# Using the Visual Studio 2019 IDE: |
101 | | -# > cmake -G "Visual Studio 16" -A x64 .. |
| 99 | +# Using the Visual Studio 2022 IDE: |
| 100 | +# > cmake -G "Visual Studio 17" -A x64 .. |
102 | 101 | # Open jcef.sln in Visual Studio and select Build > Build Solution. |
103 | 102 | # |
104 | | -# Using Ninja with Visual Studio 2019 command-line tools: |
| 103 | +# Using Ninja with Visual Studio 2022 command-line tools: |
105 | 104 | # (this path may be different depending on your Visual Studio installation) |
106 | | -# > "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat" |
| 105 | +# > "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat" |
107 | 106 | # > cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug .. |
108 | 107 | # > ninja |
109 | 108 |
|
110 | 109 | # |
111 | 110 | # Shared configuration. |
112 | 111 | # |
113 | 112 |
|
114 | | -# For VS2019 and Xcode 12+ support. |
115 | | -cmake_minimum_required(VERSION 3.19) |
| 113 | +# For VS2022 and Xcode 12+ support. |
| 114 | +cmake_minimum_required(VERSION 3.21) |
116 | 115 |
|
117 | 116 | # Only generate Debug and Release configuration types. |
118 | 117 | set(CMAKE_CONFIGURATION_TYPES Debug Release) |
|
0 commit comments