Skip to content

Instantly share code, notes, and snippets.

@Dwyriel
Last active November 23, 2022 20:57
Show Gist options
  • Save Dwyriel/ce6e7317cd154877a9c3235e1b446052 to your computer and use it in GitHub Desktop.
Save Dwyriel/ce6e7317cd154877a9c3235e1b446052 to your computer and use it in GitHub Desktop.
Generic Cmake & Qt .gitignore
# C++ objects and libs
*.slo
*.lo
*.o
*.a
*.la
*.lai
*.so
*.so.*
*.dll
*.dylib
# Qt-es
object_script.*.Release
object_script.*.Debug
*_plugin_import.cpp
/.qmake.cache
/.qmake.stash
*.pro.user
*.pro.user.*
*.qbs.user
*.qbs.user.*
*.moc
moc_*.cpp
moc_*.h
qrc_*.cpp
ui_*.h
*.qmlc
*.jsc
Makefile*
*build-*
*.qm
*.prl
.qt
# Qt unit tests
target_wrapper.*
# QtCreator
*.autosave
# QtCreator Qml
*.qmlproject.user
*.qmlproject.user.*
# QtCreator CMake
CMakeLists.txt.user*
# QtCreator 4.8< compilation database
compile_commands.json
# QtCreator local machine specific files for imported projects
*creator.user*
*_qmlcache.qrc
#build & cmake
bin/
obj/
build/
CMakeFiles/
cmake_install.cmake
CMakeCache.txt
count_primes
Makefile
*cmake*/
*build*/
#IDEs
.idea/
CMakeSettings.json
.vs\
.vs/
.vscode/
.vscode\
.kde*/
*.kdev*
.cache/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment