diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..193e04e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# 忽略构建相关文件的语言统计 +Makefile linguist-detectable=false +CMakeCache.txt linguist-generated=true +cmake_install.cmake linguist-generated=true +*.cmake linguist-generated=true + +# 标记 C++ 为主要语言 +*.cpp linguist-language=C++ +*.h linguist-language=C++ +*.hpp linguist-language=C++