mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-12-04 01:51:16 +00:00
debug symbols in release config
This commit is contained in:
parent
df49d3b4d2
commit
2a86f41e1c
2 changed files with 12 additions and 3 deletions
11
.vscode/tasks.json
vendored
11
.vscode/tasks.json
vendored
|
@ -4,7 +4,7 @@
|
|||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build debug",
|
||||
"label": "build local debug",
|
||||
"type": "shell",
|
||||
"command": "scons config=debug --no-packs --jobs=12",
|
||||
"problemMatcher": [],
|
||||
|
@ -12,6 +12,15 @@
|
|||
"kind": "build"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build local release",
|
||||
"type": "shell",
|
||||
"command": "scons config=release --no-packs --jobs=12",
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build flatpak",
|
||||
"type": "shell",
|
||||
|
|
|
@ -264,8 +264,8 @@ class Config:
|
|||
env.Append( CXXFLAGS = [ '-g' ] )
|
||||
env.Append( CPPDEFINES = [ '_DEBUG' ] )
|
||||
else:
|
||||
env.Append( CFLAGS = [ '-O2', '-fno-strict-aliasing' ] )
|
||||
env.Append( CXXFLAGS = [ '-O2', '-fno-strict-aliasing' ] )
|
||||
env.Append( CFLAGS = [ '-O2', '-g', '-fno-strict-aliasing' ] )
|
||||
env.Append( CXXFLAGS = [ '-O2', '-g', '-fno-strict-aliasing' ] )
|
||||
|
||||
# this lets us catch libjpg and libpng libraries that we put in the same directory as radiant.bin
|
||||
env.Append( LINKFLAGS = '-Wl,-rpath,.' )
|
||||
|
|
Loading…
Reference in a new issue