From cb9fa6af6cbf19568bdbf6e35ea9a3cc2de7aa2e Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Sat, 20 Feb 2016 11:38:29 +0100 Subject: [PATCH] [gme] Enable all the USE_GME_* by default. Change these options to be just internal variables, not changeable from outside by the user. --- game-music-emu/CMakeLists.txt | 69 ++++++++++++++++++----------------- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/game-music-emu/CMakeLists.txt b/game-music-emu/CMakeLists.txt index 3251b5c02..8ceb1b4b7 100644 --- a/game-music-emu/CMakeLists.txt +++ b/game-music-emu/CMakeLists.txt @@ -33,50 +33,51 @@ endif() set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ZD_FASTMATH_FLAG}" ) # Default emulators to build (all of them! ;) -if (NOT DEFINED USE_GME_AY) - SET(USE_GME_AY 1 CACHE BOOL "Enable support for Spectrum ZX music emulation") -endif() +# [ZDoom] No options, enable all of them by default. +#if (NOT DEFINED USE_GME_AY) + SET(USE_GME_AY 1 BOOL "Enable support for Spectrum ZX music emulation") +#endif() -if (NOT DEFINED USE_GME_GBS) - SET(USE_GME_GBS 1 CACHE BOOL "Enable support for Game Boy music emulation") -endif() +#if (NOT DEFINED USE_GME_GBS) + SET(USE_GME_GBS 1 BOOL "Enable support for Game Boy music emulation") +#endif() -if (NOT DEFINED USE_GME_GYM) - SET(USE_GME_GYM 1 CACHE BOOL "Enable Sega MegaDrive/Genesis music emulation") -endif() +#if (NOT DEFINED USE_GME_GYM) + SET(USE_GME_GYM 1 BOOL "Enable Sega MegaDrive/Genesis music emulation") +#endif() -if (NOT DEFINED USE_GME_HES) - SET(USE_GME_HES 1 CACHE BOOL "Enable PC Engine/TurboGrafx-16 music emulation") -endif() +#if (NOT DEFINED USE_GME_HES) + SET(USE_GME_HES 1 BOOL "Enable PC Engine/TurboGrafx-16 music emulation") +#endif() -if (NOT DEFINED USE_GME_KSS) - SET(USE_GME_KSS 1 CACHE BOOL "Enable MSX or other Z80 systems music emulation") -endif() +#if (NOT DEFINED USE_GME_KSS) + SET(USE_GME_KSS 1 BOOL "Enable MSX or other Z80 systems music emulation") +#endif() -if (NOT DEFINED USE_GME_NSF) - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation") -endif() +#if (NOT DEFINED USE_GME_NSF) + SET(USE_GME_NSF 1 BOOL "Enable NES NSF music emulation") +#endif() -if (NOT DEFINED USE_GME_NSFE) - SET(USE_GME_NSFE 1 CACHE BOOL "Enable NES NSFE and NSF music emulation") -endif() +#if (NOT DEFINED USE_GME_NSFE) + SET(USE_GME_NSFE 1 BOOL "Enable NES NSFE and NSF music emulation") +#endif() -if (NOT DEFINED USE_GME_SAP) - SET(USE_GME_SAP 1 CACHE BOOL "Enable Atari SAP music emulation") -endif() +#if (NOT DEFINED USE_GME_SAP) + SET(USE_GME_SAP 1 BOOL "Enable Atari SAP music emulation") +#endif() -if (NOT DEFINED USE_GME_SPC) - SET(USE_GME_SPC 1 CACHE BOOL "Enable SNES SPC music emulation") -endif() +#if (NOT DEFINED USE_GME_SPC) + SET(USE_GME_SPC 1 BOOL "Enable SNES SPC music emulation") +#endif() -if (NOT DEFINED USE_GME_VGM) - SET(USE_GME_VGM 1 CACHE BOOL "Enable Sega VGM/VGZ music emulation") -endif() +#if (NOT DEFINED USE_GME_VGM) + SET(USE_GME_VGM 1 BOOL "Enable Sega VGM/VGZ music emulation") +#endif() -if (USE_GME_NSFE AND NOT USE_GME_NSF) - MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation" FORCE) -endif() +#if (USE_GME_NSFE AND NOT USE_GME_NSF) + # MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") + SET(USE_GME_NSF 1 BOOL "Enable NES NSF music emulation") +#endif() # Check for GCC "visibility" support. if (CMAKE_COMPILER_IS_GNUCXX)