/[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.47 Revision 1.48
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.47 2010/02/11 18:00:05 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v 1.48 2010/03/24 21:09:28 robbat2 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#
306 # Common configure parameters (invariants) 306 # Common configure parameters (invariants)
307 local common_config=${T}/gentoo_common_config.cmake 307 local common_config=${T}/gentoo_common_config.cmake
308 local libdir=$(get_libdir) 308 local libdir=$(get_libdir)
309 cat > "${common_config}" <<- _EOF_ 309 cat > "${common_config}" <<- _EOF_
310 SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) 310 SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE)
311 SET (CMAKE_INSTALL_LIBDIR ${libdir} CACHE PATH "Output directory for libraries")
311 _EOF_ 312 _EOF_
312 [[ -n ${NOCOLOR} ]] || echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" 313 [[ -n ${NOCOLOR} ]] || echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}"
313 314
314 # Convert mycmakeargs to an array, for backwards compatibility 315 # Convert mycmakeargs to an array, for backwards compatibility
315 # Make the array a local variable since <=portage-2.1.6.x does not 316 # Make the array a local variable since <=portage-2.1.6.x does not

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20