From 9422ee2601dc8ff1edb0ff3544b1aa419fb29dd1 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 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.gitignore b/.gitignore index 490edea..7fc2658 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,34 @@ +### 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*