/[gentoo-x86]/eclass/cmake-utils.eclass
Gentoo

Diff of /eclass/cmake-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.55 Revision 1.56
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.55 2010/07/09 16:31:27 reavertm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.56 2010/07/14 15:48:43 scarabeus Exp $
4 4
5# @ECLASS: cmake-utils.eclass 5# @ECLASS: cmake-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# 8#
214# Based on use_enable. See ebuild(5). 214# Based on use_enable. See ebuild(5).
215# 215#
216# `cmake-utils_use_has foo FOO` echoes -DHAVE_FOO=ON if foo is enabled 216# `cmake-utils_use_has foo FOO` echoes -DHAVE_FOO=ON if foo is enabled
217# and -DHAVE_FOO=OFF if it is disabled. 217# and -DHAVE_FOO=OFF if it is disabled.
218cmake-utils_use_has() { _use_me_now HAVE_ "$@" ; } 218cmake-utils_use_has() { _use_me_now HAVE_ "$@" ; }
219
220# @FUNCTION: cmake-utils_use_use
221# @USAGE: <USE flag> [flag name]
222# @DESCRIPTION:
223# Based on use_enable. See ebuild(5).
224#
225# `cmake-utils_use_use foo FOO` echoes -DUSE_FOO=ON if foo is enabled
226# and -DUSE_FOO=OFF if it is disabled.
227cmake-utils_use_use() { _use_me_now USE_ "$@" ; }
219 228
220# @FUNCTION: cmake-utils_use 229# @FUNCTION: cmake-utils_use
221# @USAGE: <USE flag> [flag name] 230# @USAGE: <USE flag> [flag name]
222# @DESCRIPTION: 231# @DESCRIPTION:
223# Based on use_enable. See ebuild(5). 232# Based on use_enable. See ebuild(5).

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20