mirror of https://github.com/TTimo/GtkRadiant.git
debug symbols in release config
This commit is contained in:
parent
df49d3b4d2
commit
2a86f41e1c
|
@ -4,7 +4,7 @@
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "build debug",
|
"label": "build local debug",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "scons config=debug --no-packs --jobs=12",
|
"command": "scons config=debug --no-packs --jobs=12",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
|
@ -12,6 +12,15 @@
|
||||||
"kind": "build"
|
"kind": "build"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "build local release",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "scons config=release --no-packs --jobs=12",
|
||||||
|
"problemMatcher": [],
|
||||||
|
"group": {
|
||||||
|
"kind": "build"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "build flatpak",
|
"label": "build flatpak",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|
|
@ -264,8 +264,8 @@ class Config:
|
||||||
env.Append( CXXFLAGS = [ '-g' ] )
|
env.Append( CXXFLAGS = [ '-g' ] )
|
||||||
env.Append( CPPDEFINES = [ '_DEBUG' ] )
|
env.Append( CPPDEFINES = [ '_DEBUG' ] )
|
||||||
else:
|
else:
|
||||||
env.Append( CFLAGS = [ '-O2', '-fno-strict-aliasing' ] )
|
env.Append( CFLAGS = [ '-O2', '-g', '-fno-strict-aliasing' ] )
|
||||||
env.Append( CXXFLAGS = [ '-O2', '-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
|
# this lets us catch libjpg and libpng libraries that we put in the same directory as radiant.bin
|
||||||
env.Append( LINKFLAGS = '-Wl,-rpath,.' )
|
env.Append( LINKFLAGS = '-Wl,-rpath,.' )
|
||||||
|
|
Loading…
Reference in New Issue