From: <and...@us...> - 2012-01-04 15:44:09
|
Revision: 12115 http://plplot.svn.sourceforge.net/plplot/?rev=12115&view=rev Author: andrewross Date: 2012-01-04 15:44:03 +0000 (Wed, 04 Jan 2012) Log Message: ----------- Add cmake warning if a device is enabled which has been disabled by default either because it is deprecated or is buggy. Modified Paths: -------------- trunk/cmake/modules/drivers-init.cmake Modified: trunk/cmake/modules/drivers-init.cmake =================================================================== --- trunk/cmake/modules/drivers-init.cmake 2012-01-04 14:11:00 UTC (rev 12114) +++ trunk/cmake/modules/drivers-init.cmake 2012-01-04 15:44:03 UTC (rev 12115) @@ -260,4 +260,10 @@ #message(STATUS "DEBUG: DEVICE = ${DEVICE}") #message(STATUS "DEBUG: DEFAULT= ${DEFAULT}") option(PLD_${DEVICE} "Enable ${DEVICE} device" ${DEFAULT}) + if(PLD_${DEVICE} AND NOT ${DEFAULT}) + message(STATUS + "WARNING: You have enabled the PLD_${DEVICE} device which is disabled by " + "default either because it is deprecated, or because there are know issues " + "with it. Please check the documentation / release notes for details.") + endif(PLD_${DEVICE} AND NOT ${DEFAULT}) endforeach(DRIVERS_DEVICE) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |