Files
itgmania212121/CMake/DefineOptions.cmake
T

68 lines
2.5 KiB
CMake
Raw Normal View History

# Prep options that are needed for each platform.
2015-09-04 18:32:15 -04:00
# This option quiets warnings that are a part of external projects.
option(WITH_EXTERNAL_WARNINGS
"Build with warnings for all components, not just StepMania." OFF)
# This option is not yet working, but will likely default to ON in the future.
option(WITH_LTO
"Build with Link Time Optimization (LTO)/Whole Program Optimization."
OFF)
# This option handles if we use SSE2 processing.
option(WITH_SSE2 "Build with SSE2 Optimizations." ON)
# Turn this on to set this to a specific release mode.
option(WITH_FULL_RELEASE "Build as a proper, full release." OFF)
2022-06-11 13:43:03 +02:00
# Turn this on to include Club Fantastic songs
option(WITH_CLUB_FANTASTIC "Include Club Fantastic songs." OFF)
# Turn this on to compile tomcrypt with no assembly data. This is a portable
# mode.
option(WITH_PORTABLE_TOMCRYPT
"Build with assembly/free tomcrypt, making it portable." ON)
2015-04-16 18:31:29 -04:00
# Turn this on to not use the ROLC assembly featurs of tomcrypt. If
# WITH_PORTABLE_TOMCRYPT is ON, this will automatically have no effect.
option(
WITH_NO_ROLC_TOMCRYPT
"Build without the ROLC assembly instructions for tomcrypt."
OFF)
2015-04-16 18:31:29 -04:00
# Turn this option on to log every segment added or removed.
option(WITH_LOGGING_TIMING_DATA
"Build with logging all Add and Erase Segment calls." OFF)
2015-10-03 21:26:22 -04:00
if(NOT MSVC)
# Change this number to utilize a different number of jobs for building
# FFMPEG.
option(WITH_FFMPEG_JOBS "Build FFMPEG with this many jobs." 2)
else()
# Turn this option on to enable using the Texture Font Generator.
option(
WITH_TEXTURE_GENERATOR
"Build with the Texture Font Generator. Ensure the MFC library is installed."
OFF)
2015-10-03 21:26:22 -04:00
endif()
2022-11-25 10:44:16 -08:00
if(LINUX)
option(WITH_PROFILING "Build with Profiling Support." OFF)
option(WITH_GLES2 "Build with OpenGL ES 2.0 Support." ON)
2015-08-17 18:39:50 -06:00
option(WITH_GTK3 "Build with GTK3 Support." ON)
option(WITH_PARALLEL_PORT "Build with Parallel Lights I/O Support." OFF)
option(WITH_CRASH_HANDLER "Build with Crash Handler Support." ON)
option(WITH_XINERAMA
"Build using libXinerama to query for monitor numbers (if available)."
ON)
option(WITH_ALSA "Build with ALSA support" ON)
2019-08-08 20:03:30 +02:00
option(WITH_PULSEAUDIO "Build with PulseAudio support" ON)
option(WITH_JACK "Build with JACK support" OFF)
option(WITH_XRANDR "Build with Xrandr support" ON)
2019-10-24 18:22:42 +03:00
option(WITH_LIBXTST "Build with libXtst support" ON)
option(WITH_X11 "Build with X11 support" ON)
endif()
option(WITH_MINIMAID "Build with Minimaid support." ON)