2022-03-17 11:06:06 +00:00
|
|
|
# Godot .gitignore config
|
|
|
|
#
|
|
|
|
# Aims to encompass the most commonly found files that we don't want committed
|
|
|
|
# to Git, such as compilation output, IDE specific files, etc.
|
|
|
|
#
|
|
|
|
# It doesn't cover *all* thirdparty IDE extensions under the sun so if you have
|
|
|
|
# specific needs covered here, you can add them to:
|
|
|
|
# .git/info/exclude
|
|
|
|
#
|
|
|
|
# Or contribute them to this file if they're common enough that a good number of
|
|
|
|
# users would benefit from the shared rules.
|
|
|
|
#
|
|
|
|
# This file is organized by sections, with subsections ordered alphabetically.
|
|
|
|
# - Build configuration
|
|
|
|
# - Godot generated files
|
|
|
|
# - General build output
|
|
|
|
# - IDE and tool specific
|
|
|
|
# - Visual Studio specific
|
|
|
|
# - OS specific
|
|
|
|
|
|
|
|
###########################
|
|
|
|
### Build configuration ###
|
|
|
|
###########################
|
|
|
|
|
|
|
|
/custom.py
|
2022-08-30 10:18:58 +00:00
|
|
|
misc/hooks/pre-commit-custom-*
|
2022-03-17 11:06:06 +00:00
|
|
|
|
|
|
|
#############################
|
|
|
|
### Godot generated files ###
|
|
|
|
#############################
|
|
|
|
|
|
|
|
# Buildsystem
|
2023-02-07 06:21:56 +00:00
|
|
|
bin
|
2017-06-23 15:03:41 +00:00
|
|
|
*.gen.*
|
2022-03-17 11:06:06 +00:00
|
|
|
compile_commands.json
|
|
|
|
platform/windows/godot_res.res
|
|
|
|
|
2024-03-12 21:51:19 +00:00
|
|
|
# Ninja build files
|
|
|
|
build.ninja
|
|
|
|
.ninja
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Generated by Godot binary
|
2019-07-31 21:34:08 +00:00
|
|
|
.import/
|
2022-12-07 11:11:28 +00:00
|
|
|
/gdextension_interface.h
|
2022-03-17 11:06:06 +00:00
|
|
|
extension_api.json
|
|
|
|
logs/
|
2014-02-15 11:34:21 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Generated by unit tests
|
|
|
|
tests/data/*.translation
|
2024-03-01 07:17:59 +00:00
|
|
|
tests/data/crypto/out*
|
2015-09-09 07:55:47 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
############################
|
|
|
|
### General build output ###
|
|
|
|
############################
|
2021-10-21 07:43:39 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# C/C++ generated
|
|
|
|
*.a
|
|
|
|
*.ax
|
|
|
|
*.d
|
|
|
|
*.dll
|
|
|
|
*.lib
|
|
|
|
*.lo
|
|
|
|
*.o
|
|
|
|
*.os
|
|
|
|
*.ox
|
|
|
|
*.Plo
|
|
|
|
*.so
|
|
|
|
# Binutils tmp linker output of the form "stXXXXXX" where "X" is alphanumeric
|
|
|
|
st[A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9][A-Za-z0-9]
|
2015-03-19 05:01:36 +00:00
|
|
|
|
2023-05-01 21:32:38 +00:00
|
|
|
# Python development
|
|
|
|
.venv
|
|
|
|
venv
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Python generated
|
|
|
|
__pycache__/
|
|
|
|
*.pyc
|
2019-05-29 23:57:52 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Documentation
|
|
|
|
doc/_build/
|
2020-07-20 16:35:34 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Android
|
2022-03-31 13:37:30 +00:00
|
|
|
.gradle/
|
2019-05-29 23:57:52 +00:00
|
|
|
local.properties
|
|
|
|
*.iml
|
|
|
|
.gradletasknamecache
|
|
|
|
project.properties
|
2022-03-31 13:37:30 +00:00
|
|
|
platform/android/java/*/.cxx/
|
|
|
|
platform/android/java/*/build/
|
|
|
|
platform/android/java/*/libs/
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# iOS
|
|
|
|
*.dSYM
|
|
|
|
|
2022-08-23 22:34:53 +00:00
|
|
|
# Web platform
|
2022-03-17 11:06:06 +00:00
|
|
|
*.bc
|
2022-08-23 22:34:53 +00:00
|
|
|
platform/web/node_modules/
|
2022-03-17 11:06:06 +00:00
|
|
|
|
|
|
|
# Misc
|
|
|
|
*.debug
|
2015-10-02 17:20:50 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
#############################
|
|
|
|
### IDE and tool specific ###
|
|
|
|
#############################
|
|
|
|
|
|
|
|
# Automake
|
2015-10-02 17:20:50 +00:00
|
|
|
.deps/*
|
|
|
|
.dirstamp
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# ccls
|
|
|
|
.ccls-cache/
|
2017-08-24 15:38:17 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# clangd
|
|
|
|
.clangd/
|
|
|
|
.cache/
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# CLion
|
|
|
|
cmake-build-debug
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Code::Blocks
|
2020-06-15 15:11:31 +00:00
|
|
|
*.cbp
|
|
|
|
*.layout
|
|
|
|
*.depend
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# CodeLite
|
|
|
|
*.project
|
|
|
|
*.workspace
|
|
|
|
.codelite/
|
|
|
|
|
|
|
|
# Cppcheck
|
|
|
|
*.cppcheck
|
|
|
|
cppcheck-cppcheck-build-dir/
|
|
|
|
|
|
|
|
# Eclipse CDT
|
2017-08-24 15:34:54 +00:00
|
|
|
.cproject
|
|
|
|
.settings/
|
2019-05-28 20:21:29 +00:00
|
|
|
*.pydevproject
|
|
|
|
*.launch
|
2017-08-24 15:34:54 +00:00
|
|
|
|
2024-02-02 20:32:27 +00:00
|
|
|
# Emacs
|
|
|
|
\#*\#
|
|
|
|
.\#*
|
|
|
|
|
2023-08-29 11:17:26 +00:00
|
|
|
# GCOV code coverage
|
2022-03-17 11:06:06 +00:00
|
|
|
*.gcda
|
2023-08-29 11:17:26 +00:00
|
|
|
*.gcno
|
2022-03-17 11:06:06 +00:00
|
|
|
|
|
|
|
# Geany
|
2018-01-07 16:14:32 +00:00
|
|
|
*.geany
|
|
|
|
.geanyprj
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Gprof
|
|
|
|
gmon.out
|
|
|
|
|
2019-05-28 20:21:29 +00:00
|
|
|
# Jetbrains IDEs
|
|
|
|
.idea/
|
2022-10-13 16:58:27 +00:00
|
|
|
.fleet/
|
2019-05-28 20:21:29 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Kate
|
|
|
|
*.kate-swp
|
|
|
|
|
|
|
|
# Kdevelop
|
|
|
|
*.kdev4
|
|
|
|
|
2023-11-21 21:33:14 +00:00
|
|
|
# Mypy
|
|
|
|
.mypy_cache
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Qt Creator
|
|
|
|
*.config
|
|
|
|
*.creator
|
|
|
|
*.creator.*
|
|
|
|
*.files
|
|
|
|
*.includes
|
|
|
|
*.cflags
|
|
|
|
*.cxxflags
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# SCons
|
2017-09-12 15:00:14 +00:00
|
|
|
.sconf_temp
|
2019-12-19 09:03:11 +00:00
|
|
|
.sconsign*.dblite
|
2022-03-17 11:06:06 +00:00
|
|
|
.scons_env.json
|
|
|
|
.scons_node_count
|
|
|
|
|
|
|
|
# Sourcetrail
|
|
|
|
*.srctrl*
|
|
|
|
|
|
|
|
# Tags
|
|
|
|
# https://github.com/github/gitignore/blob/master/Global/Tags.gitignore
|
|
|
|
# Ignore tags created by etags, ctags, gtags (GNU global) and cscope
|
|
|
|
TAGS
|
|
|
|
!TAGS/
|
|
|
|
tags
|
|
|
|
*.tags
|
|
|
|
!tags/
|
|
|
|
gtags.files
|
|
|
|
GTAGS
|
|
|
|
GRTAGS
|
|
|
|
GPATH
|
|
|
|
cscope.files
|
|
|
|
cscope.out
|
|
|
|
cscope.in.out
|
|
|
|
cscope.po.out
|
|
|
|
|
|
|
|
# Vim
|
|
|
|
*.swo
|
|
|
|
*.swp
|
|
|
|
|
|
|
|
# Visual Studio Code
|
|
|
|
.vscode/
|
|
|
|
*.code-workspace
|
|
|
|
.history/
|
|
|
|
|
|
|
|
# Xcode
|
|
|
|
xcuserdata/
|
|
|
|
*.xcscmblueprint
|
|
|
|
*.xccheckout
|
|
|
|
*.xcodeproj/*
|
|
|
|
|
|
|
|
##############################
|
|
|
|
### Visual Studio specific ###
|
|
|
|
##############################
|
2014-02-13 15:41:54 +00:00
|
|
|
|
|
|
|
# https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
2022-03-17 11:06:06 +00:00
|
|
|
# Ignore Visual Studio temporary files, build results, and
|
|
|
|
# files generated by popular Visual Studio add-ons.
|
|
|
|
|
|
|
|
# Actual VS project files we don't use
|
|
|
|
*.sln
|
|
|
|
*.vcxproj*
|
2014-02-13 15:41:54 +00:00
|
|
|
|
|
|
|
# User-specific files
|
2022-03-17 11:06:06 +00:00
|
|
|
*.rsuser
|
2014-02-13 15:41:54 +00:00
|
|
|
*.suo
|
|
|
|
*.user
|
2022-03-17 11:06:06 +00:00
|
|
|
*.userosscache
|
2014-02-13 15:41:54 +00:00
|
|
|
*.sln.docstates
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
|
|
*.userprefs
|
2020-05-18 05:24:44 +00:00
|
|
|
|
2014-02-13 15:41:54 +00:00
|
|
|
# Build results
|
|
|
|
[Dd]ebug/
|
|
|
|
[Dd]ebugPublic/
|
|
|
|
[Rr]elease/
|
2022-03-17 11:06:06 +00:00
|
|
|
[Rr]eleases/
|
2014-02-13 15:41:54 +00:00
|
|
|
x64/
|
2022-03-17 11:06:06 +00:00
|
|
|
x86/
|
2022-12-21 06:01:50 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
[Ww][Ii][Nn]32/
|
|
|
|
[Aa][Rr][Mm]/
|
|
|
|
[Aa][Rr][Mm]64/
|
2014-02-13 15:41:54 +00:00
|
|
|
bld/
|
|
|
|
[Bb]in/
|
|
|
|
[Oo]bj/
|
2022-03-17 11:06:06 +00:00
|
|
|
[Ll]og/
|
|
|
|
[Ll]ogs/
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-10-21 19:06:42 +00:00
|
|
|
# Do not ignore arch-specific folders anywhere under thirdparty libraries
|
|
|
|
!thirdparty/**/x64/
|
|
|
|
!thirdparty/**/x86/
|
|
|
|
!thirdparty/**/arm/
|
|
|
|
!thirdparty/**/arm64/
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Visual Studio 2015/2017 cache/options directory
|
2018-09-15 02:26:11 +00:00
|
|
|
.vs/
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Visual Studio 2017 auto generated files
|
|
|
|
Generated\ Files/
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Files built by Visual Studio
|
2014-02-13 15:41:54 +00:00
|
|
|
*_i.c
|
|
|
|
*_p.c
|
2022-03-17 11:06:06 +00:00
|
|
|
*_h.h
|
2014-02-13 15:41:54 +00:00
|
|
|
*.ilk
|
|
|
|
*.meta
|
|
|
|
*.obj
|
2022-03-17 11:06:06 +00:00
|
|
|
*.iobj
|
2014-02-13 15:41:54 +00:00
|
|
|
*.pch
|
|
|
|
*.pdb
|
2022-03-17 11:06:06 +00:00
|
|
|
*.ipdb
|
2014-02-13 15:41:54 +00:00
|
|
|
*.pgc
|
|
|
|
*.pgd
|
|
|
|
*.rsp
|
|
|
|
*.sbr
|
|
|
|
*.tlb
|
|
|
|
*.tli
|
|
|
|
*.tlh
|
|
|
|
*.tmp
|
|
|
|
*.tmp_proj
|
2022-03-17 11:06:06 +00:00
|
|
|
*_wpftmp.csproj
|
2014-02-13 15:41:54 +00:00
|
|
|
*.log
|
2022-03-17 11:06:06 +00:00
|
|
|
*.tlog
|
2014-02-13 15:41:54 +00:00
|
|
|
*.vspscc
|
|
|
|
*.vssscc
|
|
|
|
.builds
|
|
|
|
*.pidb
|
|
|
|
*.svclog
|
|
|
|
*.scc
|
|
|
|
|
|
|
|
# Visual C++ cache files
|
|
|
|
ipch/
|
|
|
|
*.aps
|
|
|
|
*.ncb
|
2022-03-17 11:06:06 +00:00
|
|
|
*.opendb
|
2014-02-13 15:41:54 +00:00
|
|
|
*.opensdf
|
|
|
|
*.sdf
|
|
|
|
*.cachefile
|
2016-05-28 13:52:51 +00:00
|
|
|
*.VC.db
|
|
|
|
*.VC.VC.opendb
|
2014-02-13 15:41:54 +00:00
|
|
|
|
|
|
|
# Visual Studio profiler
|
|
|
|
*.psess
|
|
|
|
*.vsp
|
|
|
|
*.vspx
|
2022-03-17 11:06:06 +00:00
|
|
|
*.sap
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Visual Studio Trace Files
|
|
|
|
*.e2e
|
2014-02-13 15:41:54 +00:00
|
|
|
|
|
|
|
# ReSharper is a .NET coding add-in
|
|
|
|
_ReSharper*/
|
|
|
|
*.[Rr]e[Ss]harper
|
|
|
|
*.DotSettings.user
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Visual Studio cache files
|
|
|
|
# files ending in .cache can be ignored
|
|
|
|
*.[Cc]ache
|
2014-02-13 15:41:54 +00:00
|
|
|
|
|
|
|
# Others
|
|
|
|
ClientBin/
|
2022-11-18 18:42:32 +00:00
|
|
|
enc_temp_folder/
|
2014-02-13 15:41:54 +00:00
|
|
|
~$*
|
|
|
|
*.dbmdl
|
|
|
|
*.dbproj.schemaview
|
2022-03-17 11:06:06 +00:00
|
|
|
*.jfm
|
2014-02-13 15:41:54 +00:00
|
|
|
*.pfx
|
|
|
|
*.publishsettings
|
2022-03-17 11:06:06 +00:00
|
|
|
orleans.codegen.cs
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Backup & report files from converting an old project file
|
|
|
|
# to a newer Visual Studio version. Backup files are not needed,
|
|
|
|
# because we have git ;-)
|
2014-02-13 15:41:54 +00:00
|
|
|
_UpgradeReport_Files/
|
|
|
|
Backup*/
|
|
|
|
UpgradeLog*.XML
|
|
|
|
UpgradeLog*.htm
|
2022-03-17 11:06:06 +00:00
|
|
|
ServiceFabricBackup/
|
|
|
|
*.rptproj.bak
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-31 13:37:30 +00:00
|
|
|
# Hint file for IntelliSense
|
|
|
|
cpp.hint
|
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
###################
|
|
|
|
### OS specific ###
|
|
|
|
###################
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Linux
|
|
|
|
*~
|
|
|
|
.directory
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# macOS
|
|
|
|
.DS_Store
|
|
|
|
__MACOSX
|
2014-02-13 15:41:54 +00:00
|
|
|
|
2022-03-17 11:06:06 +00:00
|
|
|
# Windows
|
|
|
|
# https://github.com/github/gitignore/blob/main/Global/Windows.gitignore
|
2019-05-28 20:21:29 +00:00
|
|
|
[Tt]humbs.db
|
|
|
|
[Tt]humbs.db:encryptable
|
2014-02-13 15:41:54 +00:00
|
|
|
ehthumbs.db
|
2019-05-28 20:21:29 +00:00
|
|
|
ehthumbs_vista.db
|
|
|
|
*.stackdump
|
|
|
|
[Dd]esktop.ini
|
2014-02-15 11:34:21 +00:00
|
|
|
$RECYCLE.BIN/
|
2022-03-17 11:06:06 +00:00
|
|
|
*.cab
|
|
|
|
*.msi
|
|
|
|
*.msix
|
|
|
|
*.msm
|
|
|
|
*.msp
|
|
|
|
*.lnk
|
Add new VS proj generation logic that supports any platform that wants to opt in
Custom Visual Studio project generation logic that supports any platform that has a msvs.py
script, so Visual Studio can be used to run scons for any platform, with the right defines per target.
Invoked with `scons vsproj=yes`
To generate build configuration files for all platforms+targets+arch combinations, users should call
```
scons vsproj=yes platform=XXX target=YYY [other build flags]
```
for each combination of platform+target[+arch]. This will generate the relevant vs project files but
skip the build process, so that project files can be quickly generated without waiting for a command line
build. This lets project files be quickly generated even if there are build errors.
All possible combinations of platform+target are created in the solution file by default, but they
won't do anything until each one is set up with a scons vsproj=yes command for the respective platform
in the appropriate command line. This lets users only generate the combinations they need, and VS
won't have to parse settings for other combos.
Only platforms that opt in to vs proj generation by having a msvs.py file in the platform folder are included.
Platforms with a msvs.py file will be added to the solution, but only the current active platform+target+arch
will have a build configuration generated, because we only know what the right defines/includes/flags/etc are
on the active build target currently being processed by scons.
Platforms that don't support an editor target will have a dummy editor target that won't do anything on build,
but will have the files and configuration for the windows editor target.
To generate AND build from the command line, run
```
scons vsproj=yes vsproj_gen_only=no
```
2023-11-14 12:39:44 +00:00
|
|
|
*.generated.props
|