Print message about ccache usage from cmake
This commit is contained in:
		
							parent
							
								
									811e29ff1b
								
							
						
					
					
						commit
						d3ef520915
					
				| @ -426,6 +426,7 @@ endif() | ||||
| if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") | ||||
|   find_program(CCACHE_FOUND ccache) | ||||
|   if(CCACHE_FOUND) | ||||
|     message(STATUS "Using ccache to speed up incremental builds") | ||||
|     set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) | ||||
|     set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) | ||||
|     set(ENV{CCACHE_CPP2} "true") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user