Add option to build using llvm shared libs and document other cmake options

This commit is contained in:
Zion Nimchuk 2017-09-05 15:29:46 -07:00 committed by Ani
parent 8e955297ef
commit d2cae96e8d
3 changed files with 22 additions and 5 deletions

View file

@ -1,7 +1,9 @@
cmake_minimum_required(VERSION 3.0.2)
option(WITH_GDB "WITH_GDB" OFF)
option(WITHOUT_LLVM "WITHOUT_LLVM" OFF)
option(WITH_GDB "Build RPCS3 with GNU GDB debugger support." OFF)
option(WITHOUT_LLVM "Build RPCS3 without LLVM (not recommended)." OFF)
option(USE_SHARED_LLVM_LIBS "Link against shared LLVM libs, instead of statically.
Only recommended on Gentoo. May interfere with mesa driver and make RPCS3 non-functional." OFF)
if (WITH_GDB)
add_definitions(-DWITH_GDB_DEBUGGER)