# Copyright (c) 2026 Dominic Masters # # This software is released under the MIT License. # https://opensource.org/licenses/MIT # Platform setup for the dreamcast target, included by the root CMakeLists.txt. # Only sets defaults and definitions; the root applies them. # Source directories to build for this platform. set(DUSK_PLATFORM_DIRS duskdreamcast) # Default values for the shared options declared in the root CMakeLists.txt. # Assertions are faked (compiled out) unless this is a Debug build. if(CMAKE_BUILD_TYPE STREQUAL "Debug") set(DUSK_DEFAULT_ASSERTIONS_FAKED OFF) else() set(DUSK_DEFAULT_ASSERTIONS_FAKED ON) endif() set(DUSK_DEFAULT_BACKTRACE OFF) set(DUSK_DEFAULT_TRACK_MEMORY OFF) # Platform definitions. set(DUSK_PLATFORM_DEFINITIONS DUSK_PLATFORM_ENDIAN_LITTLE DUSK_DREAMCAST )