[llvm-project][llvm] .gitignore supports filtering folders starting with cmake-build (#110649)
Using clion to build llvm, in debug mode, the cmake-build-debug folder will be created by default, and in release mode, the cmake-build-release folder will be created by default, and these folders need to be filtered out of the .gitignore again, or else they will contaminate the current working environment.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -51,6 +51,7 @@ autoconf/autom4te.cache
|
|||||||
/CMakeSettings.json
|
/CMakeSettings.json
|
||||||
# CLion project configuration
|
# CLion project configuration
|
||||||
/.idea
|
/.idea
|
||||||
|
/cmake-build*
|
||||||
|
|
||||||
#==============================================================================#
|
#==============================================================================#
|
||||||
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
|
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
|
||||||
|
|||||||
1
llvm/.gitignore
vendored
1
llvm/.gitignore
vendored
@@ -32,6 +32,7 @@ autoconf/autom4te.cache
|
|||||||
/CMakeSettings.json
|
/CMakeSettings.json
|
||||||
# CLion project configuration
|
# CLion project configuration
|
||||||
/.idea
|
/.idea
|
||||||
|
/cmake-build*
|
||||||
# Qt Creator project configuration
|
# Qt Creator project configuration
|
||||||
/CMakeLists.txt.user
|
/CMakeLists.txt.user
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user