/[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.26 Revision 1.27
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.26 2009/05/08 10:54:02 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.27 2009/05/27 14:34:33 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#
121 # For example when application uses autotools and only one 121 # For example when application uses autotools and only one
122 # plugin needs to be done by cmake. 122 # plugin needs to be done by cmake.
123 # By default it uses ${S}. 123 # By default it uses ${S}.
124 : ${CMAKE_USE_DIR:=${S}} 124 : ${CMAKE_USE_DIR:=${S}}
125 125
126 # in/out source build 126 # @ECLASS-VARIABLE: CMAKE_BUILD_DIR
127 # @DESCRIPTION:
128 # Specify the build directory where all cmake processed
129 # files should be located.
130 #
131 # For installing binary doins "${CMAKE_BUILD_DIR}/${PN}"
127 if [[ -n "${CMAKE_IN_SOURCE_BUILD}" ]]; then 132 if [[ -n "${CMAKE_IN_SOURCE_BUILD}" ]]; then
128 CMAKE_BUILD_DIR="${CMAKE_USE_DIR}" 133 CMAKE_BUILD_DIR="${CMAKE_USE_DIR}"
129 else 134 else
130 CMAKE_BUILD_DIR="${CMAKE_USE_DIR}_build" 135 CMAKE_BUILD_DIR="${CMAKE_USE_DIR}_build"
131 fi 136 fi

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20