mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 22:45:45 -04:00
CMake: Tidy up build system
And fix Windows CMake... who knows how long for.
This commit is contained in:
15
CMakeModules/DuckStationBuildOptions.cmake
Normal file
15
CMakeModules/DuckStationBuildOptions.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
# Renderer options.
|
||||
option(ENABLE_OPENGL "Build with OpenGL renderer" ON)
|
||||
option(ENABLE_VULKAN "Build with Vulkan renderer" ON)
|
||||
option(BUILD_NOGUI_FRONTEND "Build the NoGUI frontend" OFF)
|
||||
option(BUILD_QT_FRONTEND "Build the Qt frontend" ON)
|
||||
option(BUILD_REGTEST "Build regression test runner" OFF)
|
||||
option(BUILD_TESTS "Build unit tests" OFF)
|
||||
|
||||
if(LINUX OR BSD)
|
||||
option(ENABLE_X11 "Support X11 window system" ON)
|
||||
option(ENABLE_WAYLAND "Support Wayland window system" ON)
|
||||
endif()
|
||||
if(APPLE)
|
||||
option(SKIP_POSTPROCESS_BUNDLE "Disable bundle post-processing, including Qt additions" OFF)
|
||||
endif()
|
Reference in New Issue
Block a user