Hi,
I'm using cmake as my build system.
I have created few cmake modules that are installed in another package.
I now want to use those modules, when running cmake for current install.
Cmake finds extra modules using CMAKE_MODULE_PATH.
When running cmake manually, things work well, but when it's ru
On Wednesday 23 August 2006 23:23, lnxg33k wrote:
> Mike Frysinger wrote:
> > use this instead ... makes for cleaner output:
> > pushd "${BUILDDIR}" > /dev/null
>
> Would `cd foo` and `cd -` work just as well in place of `pushd` and `popd`?
> Recent tip I ran across and wondering if it holds up acr
Mike Frysinger wrote:
use this instead ... makes for cleaner output:
pushd "${BUILDDIR}" > /dev/null
Would `cd foo` and `cd -` work just as well in place of `pushd` and `popd`?
Recent tip I ran across and wondering if it holds up across the board.
--
gentoo-dev@gentoo.org mailing list
Am Freitag, 26. Mai 2006 01:10 schrieb Danny van Dyk:
> Am Freitag, 26. Mai 2006 00:50 schrieb Panard:
> > I removed need-cmake function and add :
> >
> > if [ ! -z "${NEED_CMAKE}" ]; then
> > DEPEND="dev-util/cmake"
> > else
> > DEPEND=">=dev-util/cmake-${NEED_CMAKE}"
> > fi
> > RDEPEND=""
On Friday 26 May 2006 01:10, Danny van Dyk wrote:
> DEPEND="dev-util/cmake-${NEED_CMAKE+-${NEED_CMAKE}}"
And see it die of a strange death missing the >= in front?
--
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM,
Am Freitag, 26. Mai 2006 00:50 schrieb Panard:
> I removed need-cmake function and add :
>
> if [ ! -z "${NEED_CMAKE}" ]; then
> DEPEND="dev-util/cmake"
> else
> DEPEND=">=dev-util/cmake-${NEED_CMAKE}"
> fi
> RDEPEND=""
>
> is it ok ?
Rather use
DEPEND="dev-util/cmake-${NEED_CMAKE+-${NEE
Le Jeudi 25 Mai 2006 23:15, Mike Frysinger a écrit :
> use this instead ... makes for cleaner output:
> pushd "${BUILDDIR}" > /dev/null
Yes... in fact i was using cd; cd $OLDPWD to avoid that >/dev/null issue...
I've update the eclass.
Thanks
>
> otherwise i dont have any other real complaints
Ok,
I removed need-cmake function and add :
if [ ! -z "${NEED_CMAKE}" ]; then
DEPEND="dev-util/cmake"
else
DEPEND=">=dev-util/cmake-${NEED_CMAKE}"
fi
RDEPEND=""
is it ok ?
http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass
Panard
Le Jeudi 25 Mai 2006 13:31, Carste
use this instead ... makes for cleaner output:
pushd "${BUILDDIR}" > /dev/null
otherwise i dont have any other real complaints ;P
-mike
pgp80QCg7OZpC.pgp
Description: PGP signature
On Thursday 25 May 2006 16:37, Diego 'Flameeyes' Pettenò wrote:
> Probably he meant
>
> NEED_CMAKE="x.y"
Exactly. Sorry for the typo.
Carsten
pgp0EvhAdBnkq.pgp
Description: PGP signature
On Thursday 25 May 2006 16:39, Danny van Dyk wrote:
> i currently see no major difference between doing 'need-cmake x.y' and
> 'NEED_CMAKE x.y'...
Probably he meant
NEED_CMAKE="x.y"
--
Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
Gentoo/Alt lead, Gentoo/FreeBSD, Video, AM
Hi Carsten,
Am Donnerstag, 25. Mai 2006 13:31 schrieb Carsten Lohrke:
> Don't repeat a failure of the past. Do
>
>
> NEED_CMAKE x.y
>
> inherit foo
>
> ...
>
>
> instead this ugly toplevel function call.
And this is no ugly toplevel function fall?
i currently see no major difference between doing
Don't repeat a failure of the past. Do
NEED_CMAKE x.y
inherit foo
...
instead this ugly toplevel function call.
Carsten
pgpkzcuaeL675.pgp
Description: PGP signature
Hello,
That's right.
I've added need-cmake function which add >=dev-util/cmake-VERSION depend.
need-cmake() {
debug-print-function $FUNCNAME $*
CMAKEVER="$1"
# from need-kde
if [ "${RDEPEND-unset}" != "unset" ] ; then
x_DEPEND="${RDEPEND}"
else
x_DEPEND="${DEP
Can I suggest including a function for setting a minumum cmake
version, similar to the need-kde function in kde-functions.eclass.
For some apps, cmake 2.2 is a requirement, and giving the option to
require =dev-util/cmake-2.2* will prevent breakage on architectures
for which 2.2 is still ~. With
Hi,
Thanks for your comments.
Here is my updated cmake.eclass :
http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass
Beers,
Panard
Le Mercredi 24 Mai 2006 02:52, Mike Frysinger a écrit :
> On Thursday 18 May 2006 07:44, Panard wrote:
> > OPTION=${OPTION:-"WITH_${USEF
On Thursday 18 May 2006 07:44, Panard wrote:
> OPTION=${OPTION:-"WITH_${USEFLAG}"}
quoting here is pointless
> mkdir -p ${BUILDDIR}
> cd ${BUILDDIR}
> echo cmake ${S} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} \
> $(cmake_use_option debug CMAK
Hello,
Le Jeudi 18 Mai 2006 12:54, Simon Stelling a écrit :
> I have no clue what cmake is or what you are trying to, so I just
> comment on a few other things I catched:
Thanks for your comments,
Cmake is a autotools/autoconf replacement (http://www.cmake.org), it is the
new build system for k
I have no clue what cmake is or what you are trying to, so I just
comment on a few other things I catched:
INHERITED="$INHERITED $ECLASS"
you don't need that
cmake_use_option() {
local USEFLAG="$1"; shift
local OPTION="$1"; shift
'local USEFLAG="$1" OPTION="$2" ; shift 2'
Hi,
I needed to write a cmake eclass to build out of the sources.
So, here is my cmake.eclass... I hope it will be usefull.
4 functions are defined :
cmake_use_option [ [ []]]
# eg:
# USE=qt debug
# cmake_use_option qt => -DWITH_qt=ON
# cmake_use_option gtk => -DWITH_gtk=OFF
# cmake_use_option q
20 matches
Mail list logo