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 --- src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..167e18b --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,8 @@ +set(LIB_SOURCES + vec3.cc + color.cc +) + +add_library(RayTracerCore STATIC ${LIB_SOURCES}) + +target_include_directories(RayTracerCore PUBLIC .) \ No newline at end of file -- cgit v1.2.3