public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Mrozowski (reavertm)" <reavertm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: cmake-utils.eclass
Date: Sat, 10 Apr 2010 02:20:59 +0000 (UTC)	[thread overview]
Message-ID: <20100410022100.0190B2C04A@corvid.gentoo.org> (raw)

reavertm    10/04/10 02:20:59

  Modified:             cmake-utils.eclass
  Log:
  Display compiler and linker flags - a lousy compromise between excessive verbosity and hiding relevant information

Revision  Changes    Path
1.49                 eclass/cmake-utils.eclass

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils.eclass?rev=1.49&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils.eclass?rev=1.49&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/cmake-utils.eclass?r1=1.48&r2=1.49

Index: cmake-utils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- cmake-utils.eclass	24 Mar 2010 21:09:28 -0000	1.48
+++ cmake-utils.eclass	10 Apr 2010 02:20:59 -0000	1.49
@@ -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.48 2010/03/24 21:09:28 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.49 2010/04/10 02:20:59 reavertm Exp $
 
 # @ECLASS: cmake-utils.eclass
 # @MAINTAINER:
@@ -29,12 +29,12 @@
 WANT_CMAKE="${WANT_CMAKE:-always}"
 CMAKEDEPEND=""
 case ${WANT_CMAKE} in
-		always)
-			;;
-		*)
-			IUSE+=" ${WANT_CMAKE}"
-			CMAKEDEPEND+="${WANT_CMAKE}? ( "
-			;;
+	always)
+		;;
+	*)
+		IUSE+=" ${WANT_CMAKE}"
+		CMAKEDEPEND+="${WANT_CMAKE}? ( "
+		;;
 esac
 inherit toolchain-funcs multilib flag-o-matic base
 
@@ -154,7 +154,6 @@
 		# regular out of tree build
 		[[ ${1} = init || -d ${CMAKE_USE_DIR}_build ]] && SUF="_build" || SUF=""
 		CMAKE_BUILD_DIR="${CMAKE_USE_DIR}${SUF}"
-
 	fi
 	echo ">>> Working in BUILD_DIR: \"$CMAKE_BUILD_DIR\""
 }
@@ -246,8 +245,15 @@
 	cat >> CMakeLists.txt <<- _EOF_
 
 		MESSAGE(STATUS "<<< Gentoo configuration >>>
-		Build type: \${CMAKE_BUILD_TYPE}
-		Install path: \${CMAKE_INSTALL_PREFIX}\n")
+		Build type      \${CMAKE_BUILD_TYPE}
+		Install path    \${CMAKE_INSTALL_PREFIX}
+		Compiler flags:
+		C               \${CMAKE_C_FLAGS}
+		C++             \${CMAKE_CXX_FLAGS}
+		Linker flags:
+		Executable      \${CMAKE_EXE_LINKER_FLAGS}
+		Module          \${CMAKE_MODULE_LINKER_FLAGS}
+		Shared          \${CMAKE_SHARED_LINKER_FLAGS}\n")
 	_EOF_
 }
 
@@ -262,9 +268,9 @@
 
 	# check if CMakeLists.txt exist and if no then die
 	if [[ ! -e ${CMAKE_USE_DIR}/CMakeLists.txt ]] ; then
-		eerror "I was unable to locate CMakeLists.txt under:"
+		eerror "Unable to locate CMakeLists.txt under:"
 		eerror "\"${CMAKE_USE_DIR}/CMakeLists.txt\""
-		eerror "You should consider not inheriting the cmake eclass."
+		eerror "Consider not inheriting the cmake eclass."
 		die "FATAL: Unable to find CMakeLists.txt"
 	fi
 






             reply	other threads:[~2010-04-10  2:21 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-10  2:20 Maciej Mrozowski (reavertm) [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-12-16 14:36 Tomas Chvatal (scarabeus)
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-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=20100410022100.0190B2C04A@corvid.gentoo.org \
    --to=reavertm@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