mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Implement SDL3 for the SDL port if the CMake definition ENABLE_SDL3 is set. Implement setting the color depth for both wxWidgets and the SDL port. Fix the coloring issues in the SDL port for OpenGL. Implement 8 bit color support. Update and fix the wx port SDL sound driver. Implement SDL video in the wx port. Silence GL deprecations on macOS. Add SDL renderer selection. Fix filter for bit depths other than 32 bit. Fix GDK backend for Linux. Add Metal renderer for macOS. Fix Quartz drawing.
28 lines
1.2 KiB
CMake
28 lines
1.2 KiB
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file LICENCE.txt or https://cmake.org/licensing for details.
|
|
|
|
# CMake(LANG)Compiler.cmake.in -> used by CMakeDetermine(LANG)Compiler.cmake
|
|
# This file is used to store compiler information and is copied down into try
|
|
# compile directories so that try compiles do not need to re-determine and test
|
|
# the LANG
|
|
|
|
set(CMAKE_Metal_COMPILER "@CMAKE_Metal_COMPILER@")
|
|
set(CMAKE_Metal_COMPILER_ID "@CMAKE_Metal_COMPILER_ID@")
|
|
set(CMAKE_Metal_COMPILER_VERSION "@CMAKE_Metal_COMPILER_VERSION@")
|
|
|
|
set(CMAKE_Metal_COMPILER_LOADED 1)
|
|
set(CMAKE_Metal_COMPILER_WORKS "@CMAKE_Metal_COMPILER_WORKS@")
|
|
|
|
set(CMAKE_Metal_COMPILER_ENV_VAR "METALC")
|
|
|
|
set(CMAKE_Metal_COMPILER_ID_RUN "@CMAKE_Metal_COMPILER_ID_RUN@")
|
|
set(CMAKE_Metal_SOURCE_FILE_EXTENSIONS metal)
|
|
set(CMAKE_Metal_OUTPUT_EXTENSION ".air")
|
|
set(CMAKE_STATIC_LIBRARY_PREFIX_Metal "")
|
|
set(CMAKE_STATIC_LIBRARY_SUFFIX_Metal ".metal-ar")
|
|
set(CMAKE_SHARED_LIBRARY_PREFIX_Metal "")
|
|
set(CMAKE_SHARED_LIBRARY_SUFFIX_Metal ".metallib")
|
|
set(CMAKE_SHARED_MODULE_PREFIX_Metal "")
|
|
set(CMAKE_SHARED_MODULE_SUFFIX_Metal ".metallib")
|
|
set(CMAKE_EXECUTABLE_SUFFIX_Metal ".metallib")
|