mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 06:10:14 +00:00
0133ebe0bc
* ci: migrate to GitHub Actions * ci: linux-mingw: use lief for parsing PE files * ci: fix left-over issues with clang-format check * ci: workaround libc++ issue on macOS * appveyor: remove build scripts * README: add GitHub Actions badge and ... remove Travis CI and Appveyor badges
13 lines
481 B
CMake
Executable File
13 lines
481 B
CMake
Executable File
# buildcache wrapper
|
|
OPTION(USE_CCACHE "Use buildcache for compilation" OFF)
|
|
IF(USE_CCACHE)
|
|
FIND_PROGRAM(CCACHE buildcache)
|
|
IF (CCACHE)
|
|
MESSAGE(STATUS "Using buildcache found in PATH")
|
|
SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE})
|
|
SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE})
|
|
ELSE(CCACHE)
|
|
MESSAGE(WARNING "USE_CCACHE enabled, but no buildcache executable found")
|
|
ENDIF(CCACHE)
|
|
ENDIF(USE_CCACHE)
|