diff --git a/.gitignore b/.gitignore index 602c33de..317043ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,115 +1,32 @@ -# Prerequisites # -################# -*.d +# Exclude everything +/* -# Object files # -################ -*.o -*.ko -*.obj -*.elf -*.slo -*.lo -*.obj +# Except for default project files +!/.github +!/build-aux +!/cmake +!/data +!/deps +!/forms +!/lib +!/module +!/plugins +!/tests +!.clang-format +!.cmake-format.json +!.gitignore +!BUILDING.md +!buildspec.json +!CMakeLists.txt +!CMakePresets.json +!LICENSE +!README.md -# Linker output # -################# -*.ilk -*.map -*.exp +# Exclude lock files +*.lock.json -# Precompiled Headers # -####################### -*.gch -*.pch - -# Libraries # -############# -*.lib -*.a -*.la -*.lo -*.lai - -# Shared objects (inc. Windows DLLs) # -###################################### -*.dll -*.so -*.so.* -*.dylib - -# Executables # -############### -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex - -# Debug files # -############### -*.dSYM/ -*.su -*.idb -*.pdb - -# CMake temp files # -#################### -CMakeLists.txt.user -CMakeCache.txt -CMakeFiles -CMakeScripts -Testing -Makefile -cmake_install.cmake -install_manifest.txt -compile_commands.json -CTestTestfile.cmake_install - -# OS generated files # -###################### +# Exclude macOS legacy resource forks .DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -Thumbs.db -*.directory -*.generated.* -**/.Brewfile.lock.json -# backup text files generated by an editor # -############################################ -**/*~ - -# Various IDE Files # -##################### -.classpath -.project -.settings -.idea -.metadata -.vscode -*.iml -*.ipr -*.sublime* -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -!.vscode/*.code-snippets -.history/ -*.vsix -forms/advanced-scene-switcher.ui.autosave - -# Directories # -############### -*~ -.DS_Store -/build/ -/build_*/ -/release/ -/installer/Output/ +# Exclude CMake build number cache +/cmake/.CMakeBuildNumber \ No newline at end of file