mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-25 05:08:37 -05:00
Speedup compilation on all platforms
This commit is contained in:
parent
b959ff3f06
commit
ca98cb793c
@ -184,6 +184,16 @@ ADD_DEFINITIONS(
|
||||
-DUSE_SOAPY_SDR=1
|
||||
)
|
||||
|
||||
find_program(CCACHE "ccache")
|
||||
if(CCACHE)
|
||||
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
||||
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
||||
if(APPLE)
|
||||
set(CMAKE_OBJCXX_COMPILER_LAUNCHER ${CCACHE})
|
||||
endif()
|
||||
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
|
||||
endif(CCACHE)
|
||||
|
||||
IF (WIN32)
|
||||
set(wxWidgets_USE_STATIC ON)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user