[gme] Enable all the USE_GME_* by default.

Change these options to be just internal variables, not changeable from outside by the user.
This commit is contained in:
Edoardo Prezioso 2016-02-20 11:38:29 +01:00
parent 0ea39f2dfd
commit cb9fa6af6c
1 changed files with 35 additions and 34 deletions

View File

@ -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)