我是靠谱客的博主 尊敬金鱼,这篇文章主要介绍Qt项目中.gitignore文件通用文档,现在分享给大家,希望可以做个参考。

在含有.git文件夹的文件夹下创建.gitignore文件,输入以下:

# swap files (usually generated by vim)
*.swap

# cppcheck scrips and reports
*cppcheck*
*cppchk*

# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Protobuf generated files
*.pb.h
*.pb.cc

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables for windows
*.exe

# usr configurations
*.usr
*.user
*.pro.user.*
*.orig
*.autosave

# build directory
build*/

# libraries
deploy/

# protobuf source files
*.pb.h
*.pb.cc

最后

以上就是尊敬金鱼最近收集整理的关于Qt项目中.gitignore文件通用文档的全部内容,更多相关Qt项目中内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(97)

评论列表共有 0 条评论

立即
投稿
返回
顶部