1
0
mirror of https://github.com/RPCS3/rpcs3 synced 2024-07-08 19:56:08 +00:00

Revert "moved build options to options.cmake"

This reverts commit 5ddb1d6649.
This commit is contained in:
Zion Nimchuk 2021-06-04 18:07:09 -07:00 committed by Ivan
parent a7f1e788e6
commit baa422e65b
2 changed files with 11 additions and 80 deletions

View File

@ -12,8 +12,17 @@ elseif(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
endif()
endif()
# include build options
include(options.cmake)
option(USE_NATIVE_INSTRUCTIONS "USE_NATIVE_INSTRUCTIONS makes rpcs3 compile with -march=native, which is useful for local builds, but not good for packages." ON)
option(WITH_LLVM "Enable usage of LLVM library" ON)
option(BUILD_LLVM_SUBMODULE "Build LLVM from git submodule" ON)
option(USE_ALSA "ALSA audio backend" ON)
option(USE_PULSE "PulseAudio audio backend" ON)
option(USE_FAUDIO "FAudio audio backend" ON)
option(USE_LIBEVDEV "libevdev-based joystick support" ON)
option(USE_DISCORD_RPC "Discord rich presence integration" ON)
option(USE_SYSTEM_ZLIB "Prefer system ZLIB instead of the builtin one" ON)
option(USE_VULKAN "Vulkan render backend" ON)
option(USE_PRECOMPILED_HEADERS "Use precompiled headers" OFF)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/buildfiles/cmake")

View File

@ -1,78 +0,0 @@
# rpcs3 project build options
#========================================================================
# linker args
#========================================================================
option(
USE_SYSTEM_ZLIB
"Prefer system ZLIB instead of the builtin one"
ON
)
option(
USE_PRECOMPILED_HEADERS
"Use precompiled headers"
OFF
)
# build options
#========================================================================
# "USE_NATIVE_INSTRUCTIONS makes rpcs3 compile with -march=native,
# which is useful for local builds, but not good for packages.
option(
USE_NATIVE_INSTRUCTIONS
"Enable march=native compatibility"
ON
)
option(
WITH_LLVM
"Enable usage of LLVM library"
ON
)
option(
BUILD_LLVM_SUBMODULE
"Build LLVM from git submodule"
ON
)
option(
USE_ALSA
"Use ALSA audio backend"
ON
)
option(
USE_PULSE
"Use PulseAudio audio backend"
ON
)
option(
USE_FAUDIO
"Use FAudio audio backend"
ON
)
option(
USE_LIBEVDEV
"Enable libevdev-based joystick support"
ON
)
option(
USE_DISCORD_RPC
"Enable Discord rich presence integration"
ON
)
option(
USE_VULKAN
"Enable Vulkan render backend"
ON
)