From: Alan W. Irwin <airwin@us...> - 2007-03-21 02:47:31
Update of /cvsroot/plplot/plplot/cmake/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15701/cmake/modules
Add complete pstex CMake support including ENABLE_DYNDRIVERS ON or OFF case
and ctest. However, turn if off by default because it currently segfaults
regardless of ENABLE_DYNDRIVERS.
RCS file: /cvsroot/plplot/plplot/cmake/modules/drivers.cmake,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- drivers.cmake 29 Dec 2006 20:44:04 -0000 1.21
+++ drivers.cmake 21 Mar 2007 02:47:30 -0000 1.22
@@ -75,6 +75,7 @@
RCS file: /cvsroot/plplot/plplot/cmake/modules/drivers-init.cmake,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- drivers-init.cmake 20 Mar 2007 21:04:32 -0000 1.20
+++ drivers-init.cmake 21 Mar 2007 02:47:30 -0000 1.21
@@ -91,12 +91,9 @@
-# Commented out because according to Miguel de Val Borro's experiments, this
-# undocumented device does not build for the default ENABLE_DYNDRIVERS ON.
-# It does build with ENABLE_DYNDRIVERS OFF, but all attempts at execution
-# using this device segfault for unknown reasons. In any case, ps or psttf
-# produce better-looking results than pstex.
+# Default OFF because this device is not well maintained (it currently
"xterm:tek:OFF" "tek4010:tek:OFF" "tek4107:tek:OFF" "mskermit:tek:OFF"
"versaterm:tek:OFF" "vlt:tek:OFF" "conex:tek:OFF" "tek4010f:tek:OFF"
--- NEW FILE: pstex.cmake ---
# Copyright (C) 2007 Alan W. Irwin
# This file is part of PLplot.
# PLplot is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published
# by the Free Software Foundation; version 2 of the License.
# PLplot is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with the file PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
# Module for configuring the pstex device driver.
# The following variables are set/modified for the pstex device:
# PLD_pstex - ON means the pstex device is enabled.
# pstex_SOURCE - list of source files other than pstex.c
# N.B. this device driver is parasitic on the ps device driver so you cannot
# enable pstex without ps being enabled.
if(PLD_pstex AND NOT PLD_ps)
"WARNING: PLD_ps is OFF so must set PLD_pstex (which depends on PLD_ps) "
set(PLD_pstex OFF CACHE BOOL "Enable pstex device" FORCE)
endif(PLD_pstex AND NOT PLD_ps)
if(PLD_pstex AND ENABLE_DYNDRIVERS)
# N.B. the pstex.c code is parasitic on the ps.c code so must include
# the latter for the ENABLE_DYNDRIVERS case.
endif(PLD_pstex AND ENABLE_DYNDRIVERS)