mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
88be952fc9
Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
300 lines
4.3 KiB
Plaintext
300 lines
4.3 KiB
Plaintext
# Godot auto generated files
|
|
*.gen.*
|
|
|
|
# Documentation generated by doxygen or from classes.xml
|
|
doc/_build/
|
|
|
|
# Javascript specific
|
|
*.bc
|
|
|
|
# Android specific
|
|
platform/android/java/build.gradle
|
|
platform/android/java/.gradle
|
|
platform/android/java/.gradletasknamecache
|
|
platform/android/java/local.properties
|
|
platform/android/java/project.properties
|
|
platform/android/java/build.gradle
|
|
platform/android/java/AndroidManifest.xml
|
|
platform/android/java/libs/*
|
|
platform/android/java/assets
|
|
|
|
# General c++ generated files
|
|
*.lib
|
|
*.o
|
|
*.ox
|
|
*.a
|
|
*.ax
|
|
*.d
|
|
*.so
|
|
*.os
|
|
*.Plo
|
|
*.lo
|
|
|
|
# Libs generated files
|
|
.deps/*
|
|
.dirstamp
|
|
|
|
# Gprof output
|
|
gmon.out
|
|
|
|
# Vim temp files
|
|
*.swo
|
|
*.swp
|
|
|
|
# QT project files
|
|
*.config
|
|
*.creator
|
|
*.files
|
|
*.includes
|
|
|
|
# Eclipse CDT files
|
|
.cproject
|
|
.settings/
|
|
|
|
# Misc
|
|
.DS_Store
|
|
|
|
# for projects that use SCons for building: http://http://www.scons.org/
|
|
.sconf_temp
|
|
.sconsign.dblite
|
|
*.pyc
|
|
|
|
|
|
# https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
|
## Ignore Visual Studio temporary files, build results, and
|
|
## files generated by popular Visual Studio add-ons.
|
|
|
|
# User-specific files
|
|
*.suo
|
|
*.user
|
|
*.sln.docstates
|
|
*.sln
|
|
*.vcxproj*
|
|
|
|
# Build results
|
|
[Dd]ebug/
|
|
[Dd]ebugPublic/
|
|
[Rr]elease/
|
|
x64/
|
|
build/
|
|
bld/
|
|
[Bb]in/
|
|
[Oo]bj/
|
|
*.debug
|
|
*.dSYM
|
|
|
|
# MSTest test Results
|
|
[Tt]est[Rr]esult*/
|
|
[Bb]uild[Ll]og.*
|
|
|
|
#NUNIT
|
|
*.VisualState.xml
|
|
TestResult.xml
|
|
|
|
*.o
|
|
*.a
|
|
*_i.c
|
|
*_p.c
|
|
*_i.h
|
|
*.ilk
|
|
*.meta
|
|
*.obj
|
|
*.pch
|
|
*.pdb
|
|
*.pgc
|
|
*.pgd
|
|
*.rsp
|
|
*.sbr
|
|
*.tlb
|
|
*.tli
|
|
*.tlh
|
|
*.tmp
|
|
*.tmp_proj
|
|
*.log
|
|
*.vspscc
|
|
*.vssscc
|
|
.builds
|
|
*.pidb
|
|
*.svclog
|
|
*.scc
|
|
|
|
# Chutzpah Test files
|
|
_Chutzpah*
|
|
|
|
# Visual C++ cache files
|
|
ipch/
|
|
*.aps
|
|
*.ncb
|
|
*.opensdf
|
|
*.sdf
|
|
*.cachefile
|
|
*.VC.db
|
|
*.VC.opendb
|
|
*.VC.VC.opendb
|
|
enc_temp_folder/
|
|
|
|
# Visual Studio profiler
|
|
*.psess
|
|
*.vsp
|
|
*.vspx
|
|
|
|
# CodeLite project files
|
|
*.project
|
|
*.workspace
|
|
.codelite/
|
|
|
|
# TFS 2012 Local Workspace
|
|
$tf/
|
|
|
|
# Guidance Automation Toolkit
|
|
*.gpState
|
|
|
|
# ReSharper is a .NET coding add-in
|
|
_ReSharper*/
|
|
*.[Rr]e[Ss]harper
|
|
*.DotSettings.user
|
|
|
|
# JustCode is a .NET coding addin-in
|
|
.JustCode
|
|
|
|
# TeamCity is a build add-in
|
|
_TeamCity*
|
|
|
|
# DotCover is a Code Coverage Tool
|
|
*.dotCover
|
|
|
|
# NCrunch
|
|
*.ncrunch*
|
|
_NCrunch_*
|
|
.*crunch*.local.xml
|
|
|
|
# MightyMoose
|
|
*.mm.*
|
|
AutoTest.Net/
|
|
|
|
# Web workbench (sass)
|
|
.sass-cache/
|
|
|
|
# Installshield output folder
|
|
[Ee]xpress/
|
|
|
|
# DocProject is a documentation generator add-in
|
|
DocProject/buildhelp/
|
|
DocProject/Help/*.HxT
|
|
DocProject/Help/*.HxC
|
|
DocProject/Help/*.hhc
|
|
DocProject/Help/*.hhk
|
|
DocProject/Help/*.hhp
|
|
DocProject/Help/Html2
|
|
DocProject/Help/html
|
|
|
|
# Click-Once directory
|
|
publish/
|
|
|
|
# Publish Web Output
|
|
*.[Pp]ublish.xml
|
|
*.azurePubxml
|
|
|
|
# NuGet Packages Directory
|
|
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
|
|
#packages/*
|
|
## TODO: If the tool you use requires repositories.config, also uncomment the next line
|
|
#!packages/repositories.config
|
|
|
|
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
|
|
# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
|
|
!packages/build/
|
|
|
|
# Windows Azure Build Output
|
|
csx/
|
|
*.build.csdef
|
|
|
|
# Windows Store app package directory
|
|
AppPackages/
|
|
|
|
# Others
|
|
sql/
|
|
*.Cache
|
|
ClientBin/
|
|
[Ss]tyle[Cc]op.*
|
|
~$*
|
|
*~
|
|
*.dbmdl
|
|
*.dbproj.schemaview
|
|
*.pfx
|
|
*.publishsettings
|
|
node_modules/
|
|
|
|
# KDE
|
|
.directory
|
|
|
|
#Kdevelop project files
|
|
*.kdev4
|
|
|
|
# xCode
|
|
xcuserdata
|
|
|
|
# RIA/Silverlight projects
|
|
Generated_Code/
|
|
|
|
# Backup & report files from converting an old project file to a newer
|
|
# Visual Studio version. Backup files are not needed, because we have git ;-)
|
|
_UpgradeReport_Files/
|
|
Backup*/
|
|
UpgradeLog*.XML
|
|
UpgradeLog*.htm
|
|
|
|
# SQL Server files
|
|
App_Data/*.mdf
|
|
App_Data/*.ldf
|
|
|
|
# Business Intelligence projects
|
|
*.rdl.data
|
|
*.bim.layout
|
|
*.bim_*.settings
|
|
|
|
# Microsoft Fakes
|
|
FakesAssemblies/
|
|
|
|
# =========================
|
|
# Windows detritus
|
|
# =========================
|
|
|
|
# Windows image file caches
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
|
|
# Folder config file
|
|
Desktop.ini
|
|
|
|
# Recycle Bin used on file shares
|
|
$RECYCLE.BIN/
|
|
logo.h
|
|
*.autosave
|
|
|
|
# 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/
|
|
gtags.files
|
|
GTAGS
|
|
GRTAGS
|
|
GPATH
|
|
cscope.files
|
|
cscope.out
|
|
cscope.in.out
|
|
cscope.po.out
|
|
godot.creator.*
|
|
|
|
projects/
|
|
platform/windows/godot_res.res
|
|
|
|
# Visual Studio 2017 and Visual Studio Code workspace folder
|
|
/.vs
|
|
/.vscode
|
|
|
|
# Scons progress indicator
|
|
.scons_node_count
|