mirror of
				https://github.com/taglib/taglib.git
				synced 2025-10-31 07:46:22 -04:00 
			
		
		
		
	Merge pull request #685 from g-coder/patch-2
Added ccache support for faster compilation
This commit is contained in:
		| @ -137,6 +137,12 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.cmake" "${CMAKE_CURRENT_BIN | ||||
| file(COPY doc/taglib.png DESTINATION doc) | ||||
| add_custom_target(docs doxygen) | ||||
|  | ||||
| find_program(CCACHE_FOUND ccache) | ||||
| if(CCACHE_FOUND) | ||||
|   set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) | ||||
|   set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) | ||||
| endif(CCACHE_FOUND) | ||||
|  | ||||
| # uninstall target | ||||
| configure_file( | ||||
|   "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user