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/src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 raytracing/src/CMakeLists.txt (limited to 'raytracing/src/CMakeLists.txt') diff --git a/raytracing/src/CMakeLists.txt b/raytracing/src/CMakeLists.txt new file mode 100644 index 0000000..167e18b --- /dev/null +++ b/raytracing/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