mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2025-09-04 22:27:49 -04: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
|
-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)
|
IF (WIN32)
|
||||||
set(wxWidgets_USE_STATIC ON)
|
set(wxWidgets_USE_STATIC ON)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user