[gedit/wip/3.14-osx] [osx] Easy building with debug symbols
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/3.14-osx] [osx] Easy building with debug symbols
- Date: Sun, 24 Aug 2014 10:34:08 +0000 (UTC)
commit dce21f966e65984a80d6cdf72dd0802a963befa5
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sun Aug 24 12:08:33 2014 +0200
[osx] Easy building with debug symbols
osx/build/build | 5 +++++
osx/build/config/jhbuildrc-gedit | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/osx/build/build b/osx/build/build
index c87f526..b58febb 100755
--- a/osx/build/build
+++ b/osx/build/build
@@ -114,6 +114,11 @@ function cmd_jh() {
"$INSTALLD/bin/jhbuild" -f "$HOMED/.jhbuildrc" "$@"
}
+function cmd_jhdbg() {
+ export GEDIT_OSX_DEBUG=1
+ cmd_jh "$@"
+}
+
function cmd_shell() {
cmd_jh shell
}
diff --git a/osx/build/config/jhbuildrc-gedit b/osx/build/config/jhbuildrc-gedit
index 58ddd1e..46ca950 100644
--- a/osx/build/config/jhbuildrc-gedit
+++ b/osx/build/config/jhbuildrc-gedit
@@ -27,6 +27,11 @@ tarballdir = os.path.join(_basedir, "pkgs")
# Main setup
setup_sdk(target=_gsdk, sdk_version=_gsdk, architectures=['x86_64'])
+if 'GEDIT_OSX_DEBUG' in os.environ:
+ setup_debug()
+else:
+ setup_release()
+
# Main module set
modulesets_dir = os.path.join(_sourcedir, "modulesets")
moduleset = "gedit.modules"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]