mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 02:37:12 +00:00
Added ccache speedup compilation
This commit is contained in:
parent
2c2a8e5fe7
commit
6b43cf444a
@ -231,6 +231,13 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_program(CCACHE "ccache")
|
||||
if(CCACHE)
|
||||
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
||||
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
||||
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
|
||||
endif(CCACHE)
|
||||
|
||||
|
||||
# Airspy optimizations that require modified gr-osmosdr
|
||||
option(CUSTOM_AIRSPY_KERNELS "Enable non-standard Airspy optimizations" ON)
|
||||
|
Loading…
Reference in New Issue
Block a user