sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c5065620965c8f7f00e3025af43bed3f48d6e13d)
- From: Treeve Jelbert <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c5065620965c8f7f00e3025af43bed3f48d6e13d)
- Date: Tue, 31 Oct 2017 08:31:52 +0000
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
ChangeLog | 5 +++++
MESON_CONFIGURE | 3 +++
MESON_FUNCTIONS | 6 ++++--
3 files changed, 12 insertions(+), 2 deletions(-)
New commits:
commit c5065620965c8f7f00e3025af43bed3f48d6e13d
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
tweaks for meson builds
diff --git a/ChangeLog b/ChangeLog
index 1f0af92..fefa0c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-29 Treeve Jelbert <treeve AT sourcemage.org>
+ * MESON_CONFIGURE: added
+ * MESON_FUNCTIONS: adjust
+ allow to specify buildtype
+
2017-10-19 Treeve Jelbert <treeve AT sourcemage.org>
* xorg-driver/xf86-video-modesetting: spell deprecated [replaced by
now in xorg-server]
diff --git a/MESON_CONFIGURE b/MESON_CONFIGURE
new file mode 100755
index 0000000..ccb9dcd
--- /dev/null
+++ b/MESON_CONFIGURE
@@ -0,0 +1,3 @@
+config_query_list MESON_BUILD_TYPE 'which build type?' plain debug
debugoptimized release minsize
+#config_query_option MESON_TESTS 'build tests?' n "-DBUILD_TESTING=1"
"-DBUILD_TESTING=0"
+
diff --git a/MESON_FUNCTIONS b/MESON_FUNCTIONS
index a32293d..ea2ac89 100755
--- a/MESON_FUNCTIONS
+++ b/MESON_FUNCTIONS
@@ -1,8 +1,10 @@
# special functions for projects shich use meson build system
meson_build () {
- export LANG=$LC_ALL
+ MESON_BUILD_TYPE="${MESON_BUILD_TYPE:-release}"
+# export LANG=$LC_ALL
cd $SOURCE_DIRECTORY
- SCRIPT="meson --prefix ${INSTALL_ROOT}/usr --buildtype release
--default-library shared --libdir lib"
+ SCRIPT="meson --prefix ${INSTALL_ROOT}/usr --buildtype ${MESON_BUILD_TYPE}
\
+ --default-library shared --libdir lib"
for LL in $OPTS; do
SCRIPT+=" -D$LL"
done
- [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (c5065620965c8f7f00e3025af43bed3f48d6e13d), Treeve Jelbert, 10/31/2017
Archive powered by MHonArc 2.6.24.