mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Update the minimum required CMake version in more places
Co-authored-by: Steve Lhomme <robux4@ycbcr.xyz>
This commit is contained in:
parent
6219eb950f
commit
a38428aa8b
5 changed files with 9 additions and 10 deletions
|
|
@ -35,7 +35,7 @@ For further help getting started, please refer to the JUCE
|
||||||
|
|
||||||
### CMake
|
### CMake
|
||||||
|
|
||||||
Version 3.15 or higher is required. To use CMake, you will need to install it,
|
Version 3.22 or higher is required. To use CMake, you will need to install it,
|
||||||
either from your system package manager or from the [official download
|
either from your system package manager or from the [official download
|
||||||
page](https://cmake.org/download/). For comprehensive documentation on JUCE's
|
page](https://cmake.org/download/). For comprehensive documentation on JUCE's
|
||||||
CMake API, see the [JUCE CMake documentation](/docs/CMake%20API.md). For
|
CMake API, see the [JUCE CMake documentation](/docs/CMake%20API.md). For
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## System Requirements
|
## System Requirements
|
||||||
|
|
||||||
- All project types require CMake 3.15 or higher.
|
- All project types require CMake 3.22 or higher.
|
||||||
- Android targets are not currently supported.
|
- Android targets are not currently supported.
|
||||||
- WebView2 on Windows via JUCE_USE_WIN_WEBVIEW2 flag in juce_gui_extra is not currently supported.
|
- WebView2 on Windows via JUCE_USE_WIN_WEBVIEW2 flag in juce_gui_extra is not currently supported.
|
||||||
|
|
||||||
|
|
@ -144,11 +144,10 @@ you can configure a Clang-cl build by passing "-T ClangCL" on your configuration
|
||||||
If you wish to use Clang with GNU-like command-line instead, you can pass
|
If you wish to use Clang with GNU-like command-line instead, you can pass
|
||||||
`-DCMAKE_CXX_COMPILER=clang++` and `-DCMAKE_C_COMPILER=clang` on your configuration commandline.
|
`-DCMAKE_CXX_COMPILER=clang++` and `-DCMAKE_C_COMPILER=clang` on your configuration commandline.
|
||||||
clang++ and clang must be on your `PATH` for this to work. Only more recent versions of CMake
|
clang++ and clang must be on your `PATH` for this to work. Only more recent versions of CMake
|
||||||
support Clang's GNU-like command-line on Windows. CMake 3.12 is not supported, CMake 3.15 has
|
support Clang's GNU-like command-line on Windows. Note that CMake doesn't seem to automatically
|
||||||
support, CMake 3.20 or higher is recommended. Note that CMake doesn't seem to automatically link a
|
link a runtime library when building in this configuration, but this can be remedied by setting
|
||||||
runtime library when building in this configuration, but this can be remedied by setting the
|
the `MSVC_RUNTIME_LIBRARY` property. See the [official
|
||||||
`MSVC_RUNTIME_LIBRARY` property. See the [official
|
documentation](https://cmake.org/cmake/help/v3.22/prop_tgt/MSVC_RUNTIME_LIBRARY.html) of this
|
||||||
documentation](https://cmake.org/cmake/help/v3.15/prop_tgt/MSVC_RUNTIME_LIBRARY.html) of this
|
|
||||||
property for usage recommendations.
|
property for usage recommendations.
|
||||||
|
|
||||||
### A note about compile definitions
|
### A note about compile definitions
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
||||||
# information can be found in the CMake docs.
|
# information can be found in the CMake docs.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.22)
|
||||||
|
|
||||||
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
||||||
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
||||||
# information can be found in the CMake docs.
|
# information can be found in the CMake docs.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.22)
|
||||||
|
|
||||||
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
||||||
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
# CMake's behaviour is compatible with the named version. This is a standard CMake command, so more
|
||||||
# information can be found in the CMake docs.
|
# information can be found in the CMake docs.
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.22)
|
||||||
|
|
||||||
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
# The top-level CMakeLists.txt file for a project must contain a literal, direct call to the
|
||||||
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
# `project()` command. `project()` sets up some helpful variables that describe source/binary
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue