Skip to content

Commit 388ba11

Browse files
committed
Bump cmake and emsdk
1 parent 85bd880 commit 388ba11

File tree

13 files changed

+13
-19
lines changed

13 files changed

+13
-19
lines changed

.github/workflows/build_wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ env:
3030
libasound2-dev libjack-jackd2-dev ladspa-sdk libcurl4-openssl-dev libfreetype6-dev
3131
libx11-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev
3232
libxrandr-dev libxrender-dev libglu1-mesa-dev mesa-common-dev
33-
EM_VERSION: 3.1.45
33+
EM_VERSION: 4.0.21
3434

3535
jobs:
3636
build_tests:

CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,12 @@
1717
#
1818
# ==============================================================================
1919

20-
cmake_minimum_required (VERSION 3.28)
20+
cmake_minimum_required (VERSION 3.31)
2121

2222
include (cmake/yup.cmake)
2323
_yup_get_project_version_string (${CMAKE_CURRENT_LIST_DIR}/modules yup_version)
2424
_yup_message (STATUS "Building project version ${yup_version}")
2525

26-
# Disable C++ module dependency scanning for Emscripten (incompatible with clang-scan-deps)
27-
if (EMSCRIPTEN)
28-
set (CMAKE_CXX_SCANDEP_SOURCE "")
29-
set (CMAKE_EXPERIMENTAL_CXX_SCANDEP_SOURCE "")
30-
endif()
31-
3226
if (YUP_PLATFORM_MAC)
3327
set (CMAKE_OSX_DEPLOYMENT_TARGET 11.0)
3428
set (CMAKE_XCODE_GENERATE_SCHEME OFF)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ START_YUP_APPLICATION (MyApplication)
293293
And add this as `CMakeLists.txt`:
294294
295295
```cmake
296-
cmake_minimum_required (VERSION 3.28)
296+
cmake_minimum_required (VERSION 3.31)
297297
298298
set (target_name my_app)
299299
set (target_version "0.0.1")

cmake/toolchains/ios.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
# command.
155155
#
156156

157-
cmake_minimum_required(VERSION 3.16.0)
157+
cmake_minimum_required(VERSION 3.31)
158158

159159
# CMake invokes the toolchain file twice during the first build, but only once during subsequent rebuilds.
160160
if(DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN})

docs/Building Plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ extern "C" yup::AudioProcessor* createPluginProcessor()
100100
Create a `CMakeLists.txt` file for your plugin:
101101

102102
```cmake
103-
cmake_minimum_required (VERSION 3.28)
103+
cmake_minimum_required (VERSION 3.31)
104104
105105
set (target_name my_plugin)
106106
set (target_version "0.0.1")

docs/Building Standalone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ START_YUP_APPLICATION (MyApplication)
8686
Create a `CMakeLists.txt` file for your application:
8787
8888
```cmake
89-
cmake_minimum_required (VERSION 3.28)
89+
cmake_minimum_required (VERSION 3.31)
9090
9191
set (target_name my_app)
9292
set (target_version "1.0.0")

examples/app/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# ==============================================================================
1919

20-
cmake_minimum_required (VERSION 3.28)
20+
cmake_minimum_required (VERSION 3.31)
2121

2222
# ==== Set target name and version
2323
set (target_name example_app)

examples/console/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# ==============================================================================
1919

20-
cmake_minimum_required(VERSION 3.28)
20+
cmake_minimum_required(VERSION 3.31)
2121

2222
# ==== Prepare target
2323
set (target_name example_console)

examples/graphics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# ==============================================================================
1919

20-
cmake_minimum_required (VERSION 3.28)
20+
cmake_minimum_required (VERSION 3.31)
2121

2222
# ==== Set target name and version
2323
set (target_name example_graphics)

examples/plugin/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#
1818
# ==============================================================================
1919

20-
cmake_minimum_required(VERSION 3.28)
20+
cmake_minimum_required(VERSION 3.31)
2121

2222
# ==== Prepare target
2323
set (target_name example_plugin)

0 commit comments

Comments
 (0)