From: "Tomas Chvatal (scarabeus)" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass
Date: Thu, 16 Dec 2010 14:36:55 +0000 (UTC) [thread overview]
Message-ID: <20101216143655.94CEE20054@flycatcher.gentoo.org> (raw)
scarabeus 10/12/16 14:36:55
Modified: cmake-utils.eclass
Log:
Allow overriding of cmake binary.
Revision Changes Path
1.61 eclass/cmake-utils.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?rev=1.61&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?rev=1.61&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?r1=1.60&r2=1.61
Index: cmake-utils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- cmake-utils.eclass 13 Oct 2010 16:40:34 -0000 1.60
+++ cmake-utils.eclass 16 Dec 2010 14:36:55 -0000 1.61
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.60 2010/10/13 16:40:34 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.61 2010/12/16 14:36:55 scarabeus Exp $
# @ECLASS: cmake-utils.eclass
# @MAINTAINER:
@@ -138,6 +138,11 @@
# install/lib/bin prefixes.
# Use -DCMAKE_INSTALL_PREFIX=... CMake variable instead.
+# @ECLASS-VARIABLE: CMAKE_BINARY
+# @DESCRIPTION:
+# Eclass can use different cmake binary than the one provided in by system.
+: ${CMAKE_BINARY:=cmake}
+
# Determine using IN or OUT source build
_check_build_dir() {
: ${CMAKE_USE_DIR:=${S}}
@@ -344,8 +349,8 @@
mkdir -p "${CMAKE_BUILD_DIR}"
pushd "${CMAKE_BUILD_DIR}" > /dev/null
debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: mycmakeargs is ${mycmakeargs_local[*]}"
- echo cmake "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
- cmake "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"
+ echo "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}"
+ "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"
popd > /dev/null
}
next reply other threads:[~2010-12-16 14:37 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 14:36 Tomas Chvatal (scarabeus) [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-08 1:42 [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass Mike Frysinger (vapier)
2013-07-01 23:30 Chris Reffett (creffett)
2013-06-14 21:13 Chris Reffett (creffett)
2013-06-13 21:16 Chris Reffett (creffett)
2013-01-17 20:18 Chris Reffett (creffett)
2012-12-03 10:33 Michal Gorny (mgorny)
2011-10-06 13:33 Michael Haubenwallner (haubi)
2011-08-27 20:30 Andreas HAttel (dilfridge)
2011-08-21 21:19 Andreas HAttel (dilfridge)
2011-08-20 21:43 Andreas HAttel (dilfridge)
2011-07-18 9:08 Andreas HAttel (dilfridge)
2011-06-27 21:11 Jonathan Callen (abcd)
2011-04-27 16:54 Tomas Chvatal (scarabeus)
2011-03-18 19:45 Tomas Chvatal (scarabeus)
2011-01-26 20:51 Tomas Chvatal (scarabeus)
2011-01-20 0:48 Maciej Mrozowski (reavertm)
2011-01-19 12:44 Tomas Chvatal (scarabeus)
2011-01-13 19:17 Fabian Groffen (grobian)
2010-12-30 14:23 Theo Chatzimichos (tampakrap)
2010-10-13 16:40 Tomas Chvatal (scarabeus)
2010-09-16 16:04 Maciej Mrozowski (reavertm)
2010-08-13 5:02 Maciej Mrozowski (reavertm)
2010-08-12 19:27 Maciej Mrozowski (reavertm)
2010-07-14 15:48 Tomas Chvatal (scarabeus)
2010-07-09 16:31 Maciej Mrozowski (reavertm)
2010-06-26 17:55 Maciej Mrozowski (reavertm)
2010-06-21 16:39 Maciej Mrozowski (reavertm)
2010-05-27 2:44 Maciej Mrozowski (reavertm)
2010-04-30 23:58 Jonathan Callen (abcd)
2010-04-30 23:41 Jonathan Callen (abcd)
2010-04-10 2:20 Maciej Mrozowski (reavertm)
2010-03-24 21:09 Robin H. Johnson (robbat2)
2010-02-11 18:00 Samuli Suominen (ssuominen)
2010-02-11 17:41 Denis Dupeyron (calchan)
2010-01-20 2:55 Jonathan Callen (abcd)
2010-01-20 2:54 Jonathan Callen (abcd)
2010-01-11 17:02 Tomas Chvatal (scarabeus)
2010-01-10 22:17 Tomas Chvatal (scarabeus)
2009-12-23 0:32 Jonathan Callen (abcd)
2009-12-22 22:52 Tomas Chvatal (scarabeus)
2009-12-18 10:49 Zac Medico (zmedico)
2009-12-10 19:58 Jonathan Callen (abcd)
2009-10-27 21:20 Michael Sterrett (mr_bones_)
2009-10-27 14:30 Tomas Chvatal (scarabeus)
2009-10-16 12:24 Samuli Suominen (ssuominen)
2009-08-08 20:08 Arfrever Frehtes Taifersar Arahesis (arfrever)
2009-06-17 22:39 Tomas Chvatal (scarabeus)
2009-05-29 8:06 Tomas Chvatal (scarabeus)
2009-05-27 14:34 Tomas Chvatal (scarabeus)
2009-05-08 10:54 Tomas Chvatal (scarabeus)
2009-04-11 19:44 Tomas Chvatal (scarabeus)
2009-04-10 20:24 Tomas Chvatal (scarabeus)
2009-04-04 12:28 Tomas Chvatal (scarabeus)
2009-03-19 9:12 Tomas Chvatal (scarabeus)
2009-03-15 16:54 Tomas Chvatal (scarabeus)
2009-03-14 11:14 Tomas Chvatal (scarabeus)
2009-03-12 8:45 Christian Faulhammer (fauli)
2009-03-11 16:22 Tomas Chvatal (scarabeus)
2009-03-10 23:22 Tomas Chvatal (scarabeus)
2008-12-24 15:41 Tomas Chvatal (scarabeus)
2008-11-05 20:59 Tomas Chvatal (scarabeus)
2008-10-28 17:39 Tomas Chvatal (scarabeus)
2008-10-27 14:38 Mike Frysinger (vapier)
2008-10-27 5:36 Mike Frysinger (vapier)
2008-09-28 18:52 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-09-28 16:19 Jorge Manuel B. S. Vicetto (jmbsvicetto)
2008-04-23 11:55 Ingmar Vanhassel (ingmar)
2008-03-29 21:33 Wulf Krueger (philantrop)
2008-02-20 14:33 Bo Oersted Andresen (zlin)
2008-02-20 0:35 Bo Oersted Andresen (zlin)
2007-12-13 16:23 Petteri Raty (betelgeuse)
2007-12-06 20:40 Wulf Krueger (philantrop)
2007-11-11 20:02 Wulf Krueger (philantrop)
2007-11-04 13:17 Wulf Krueger (philantrop)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101216143655.94CEE20054@flycatcher.gentoo.org \
--to=scarabeus@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox