From d60e581d9ea36da144229d2525109c2e1edd6b74 Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Tue, 11 Aug 2026 20:42:47 +0200 Subject: [PATCH] Align .gitignore with the other repositories Adopts the .gitignore used by most other Carbon repositories. Most importantly, it now ignores the .cmake-build-* folders created via CMakePresets. --- .gitignore | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b6526a9..7fc2658 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,34 @@ -CMakeUserPresets.json \ No newline at end of file +### C++ ### +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +binaryCache/ +*.so +*.dylib +*.dll + +### Python ### +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class +*.pyc +*.pyd + +### CMake ### +# User generated local cmake configuration +CMakeUserPresets.json + +.cmake-build* +cmake-build*