mirror of https://github.com/PCSX2/pcsx2.git
Add options to not install optional files.
This commit is contained in:
parent
d826d925db
commit
8a87981d94
|
@ -88,7 +88,9 @@ endif()
|
|||
#-------------------------------------------------------------------------------
|
||||
# Install some files to ease package creation
|
||||
if(PACKAGE_MODE)
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/cheats_ws.zip" DESTINATION "${GAMEINDEX_DIR}")
|
||||
if(NOT DISABLE_CHEATS_ZIP)
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/cheats_ws.zip" DESTINATION "${GAMEINDEX_DIR}")
|
||||
endif()
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/GameIndex.dbf" DESTINATION "${GAMEINDEX_DIR}")
|
||||
|
||||
# set categories depending on system/distribution in pcsx2.desktop
|
||||
|
@ -104,5 +106,7 @@ if(PACKAGE_MODE)
|
|||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_FAQ.pdf" DESTINATION "${DOC_DIR}")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_Readme.pdf" DESTINATION "${DOC_DIR}")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
|
||||
if(NOT DISABLE_PCSX2_WRAPPER)
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -40,6 +40,8 @@ option(BUILD_REPLAY_LOADERS "Build GS replayer to ease testing (developer option
|
|||
# Path and lib option
|
||||
#-------------------------------------------------------------------------------
|
||||
option(PACKAGE_MODE "Use this option to ease packaging of PCSX2 (developer/distribution option)")
|
||||
option(DISABLE_CHEATS_ZIP "Disable including the cheats_ws.zip file")
|
||||
option(DISABLE_PCSX2_WRAPPER "Disable including the PCSX2-linux.sh file")
|
||||
option(XDG_STD "Use XDG standard path instead of the standard PCSX2 path")
|
||||
option(EXTRA_PLUGINS "Build various 'extra' plugins")
|
||||
option(SDL2_API "Use SDL2 on spu2x and onepad (experimental/wxWidget mustn't be built with SDL1.2 support")
|
||||
|
|
Loading…
Reference in New Issue