Skip to content

Commit

Permalink
Updated submodules, SDL2, and fixed warning at newer CMake versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Dec 30, 2024
1 parent bfb01cb commit 9a166b6
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)

if(POLICY CMP0069) # Allow CMAKE_INTERPROCEDURAL_OPTIMIZATION (lto) to be set
cmake_policy(SET CMP0069 NEW)
Expand Down
2 changes: 1 addition & 1 deletion Editor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustEditor C CXX)

if(POLICY CMP0071) # Automoc
Expand Down
2 changes: 1 addition & 1 deletion Engine/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustEngine C CXX)

set(DEPENDENCIES_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
private static final String TAG = "SDL";
private static final int SDL_MAJOR_VERSION = 2;
private static final int SDL_MINOR_VERSION = 30;
private static final int SDL_MICRO_VERSION = 7;
private static final int SDL_MICRO_VERSION = 10;
/*
// Display InputType.SOURCE/CLASS of events and devices
//
Expand Down Expand Up @@ -89,7 +89,7 @@ public static void debugSource(int sources, String prefix) {
| InputDevice.SOURCE_CLASS_POSITION
| InputDevice.SOURCE_CLASS_TRACKBALL);
if (s2 != 0) cls += "Some_Unkown";
if (s2 != 0) cls += "Some_Unknown";
s2 = s_copy & InputDevice.SOURCE_ANY; // keep source only, no class;
Expand Down Expand Up @@ -163,7 +163,7 @@ public static void debugSource(int sources, String prefix) {
if (s == FLAG_TAINTED) src += " FLAG_TAINTED";
s2 &= ~FLAG_TAINTED;
if (s2 != 0) src += " Some_Unkown";
if (s2 != 0) src += " Some_Unknown";
Log.v(TAG, prefix + "int=" + s_copy + " CLASS={" + cls + " } source(s):" + src);
}
Expand Down
2 changes: 1 addition & 1 deletion GIFs2PNG/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustGIFs2PNG C CXX)

set(CMAKE_INSTALL_RPATH ".")
Expand Down
2 changes: 1 addition & 1 deletion LazyFixTool/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustLazyFixTool C CXX)

set(CMAKE_INSTALL_RPATH ".")
Expand Down
2 changes: 1 addition & 1 deletion Maintainer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustMaintainer C CXX)

if(POLICY CMP0071) # Automoc
Expand Down
2 changes: 1 addition & 1 deletion MusicPlayer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(SDLMixerMusPlayer C CXX)

if(POLICY CMP0071) # Automoc
Expand Down
2 changes: 1 addition & 1 deletion PNG2GIFs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustPNG2GIFs C CXX)

set(CMAKE_INSTALL_RPATH ".")
Expand Down
2 changes: 1 addition & 1 deletion PaletteFilter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustPaletteFilter C CXX)

set(CMAKE_INSTALL_RPATH ".")
Expand Down
2 changes: 1 addition & 1 deletion PlayableCalibrator/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(MoondustPlayerCalibrator C CXX)

if(POLICY CMP0071) # Automoc
Expand Down
2 changes: 1 addition & 1 deletion _Libs/AudioCodecs
Submodule AudioCodecs updated 169 files
2 changes: 1 addition & 1 deletion _Libs/SDL_Mixer_X
Submodule SDL_Mixer_X updated 1 files
+1 −1 CMakeLists.txt
2 changes: 1 addition & 1 deletion _Libs/Unix2Dos/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8.12)
cmake_minimum_required (VERSION 2.8.12...3.10)
project(Unix2Dos C)

# Disable bogus MSVC warnings
Expand Down
2 changes: 1 addition & 1 deletion _Misc/json_to_lua/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.2)
cmake_minimum_required (VERSION 3.2...3.10)
project (JsonToLua LANGUAGES C CXX)

include(ExternalProject)
Expand Down
2 changes: 1 addition & 1 deletion _common/PGE_File_Formats
2 changes: 1 addition & 1 deletion _common/res_generator/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.5...3.10)
project(ResGenerator CXX)

set(CMAKE_CXX_STANDARD 11)
Expand Down

0 comments on commit 9a166b6

Please sign in to comment.