From 99ac5b94e40b1b95be6ebc061f6dcee4d4dcfed5 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 --- raytracing/etc/ccache.cmake | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 raytracing/etc/ccache.cmake (limited to 'raytracing/etc/ccache.cmake') diff --git a/raytracing/etc/ccache.cmake b/raytracing/etc/ccache.cmake new file mode 100644 index 0000000..aeceb8e --- /dev/null +++ b/raytracing/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