From 7aa2a67d8381c9a88d69a3f53d74a7f079214263 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 9 Mar 2026 21:49:43 +0800 Subject: Establish a well-structured modern C++ project architecture Focus on code quality: Treat strict warnings as errors, memory checks with Sanitizers, Clang formatting and static analysis Performance optimization: LTO, ccache --- etc/ccache.cmake | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 etc/ccache.cmake (limited to 'etc/ccache.cmake') diff --git a/etc/ccache.cmake b/etc/ccache.cmake new file mode 100644 index 0000000..aeceb8e --- /dev/null +++ b/etc/ccache.cmake @@ -0,0 +1,5 @@ +find_program(CCACHE_PROGRAM ccache) +if(CCACHE_PROGRAM) + set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}") + message(STATUS "Found ccache: ${CCACHE_PROGRAM} - Compilation will be cached.") +endif() \ No newline at end of file -- cgit v1.2.3