[brlcad-commits] SF.net SVN: brlcad:[53994] brlcad/trunk/CMakeLists.txt
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2012-12-05 00:28:29
|
Revision: 53994 http://brlcad.svn.sourceforge.net/brlcad/?rev=53994&view=rev Author: starseeker Date: 2012-12-05 00:28:19 +0000 (Wed, 05 Dec 2012) Log Message: ----------- Visual Studio 2012 seems to be pushed beyond its limits when validation targets are added - pushes the build target count over 1800. Disable validation if we are on MSVC. Modified Paths: -------------- brlcad/trunk/CMakeLists.txt Modified: brlcad/trunk/CMakeLists.txt =================================================================== --- brlcad/trunk/CMakeLists.txt 2012-12-05 00:11:12 UTC (rev 53993) +++ brlcad/trunk/CMakeLists.txt 2012-12-05 00:28:19 UTC (rev 53994) @@ -1334,7 +1334,14 @@ # of the DocBook build - sort of a "strict flags" mode for DocBook. # By default, this will be enabled when extra docs are built and # the toplevel BRLCAD_ENABLE_STRICT setting is enabled. -CMAKE_DEPENDENT_OPTION(BRLCAD_EXTRADOCS_VALIDATE "Perform validation for DocBook documentation" OFF "BRLCAD_EXTRADOCS;BRLCAD_ENABLE_STRICT" OFF) +if(NOT MSVC) + CMAKE_DEPENDENT_OPTION(BRLCAD_EXTRADOCS_VALIDATE "Perform validation for DocBook documentation" OFF "BRLCAD_EXTRADOCS;BRLCAD_ENABLE_STRICT" OFF) +else(NOT MSVC) + if(BRLCAD_EXTRADOCS_VALIDATE) + message("Visual Studio appears to be having trouble with the number of build targets generated by the addition of DocBook validation - disabling." + endif(BRLCAD_EXTRADOCS_VALIDATE) + set(BRLCAD_EXTRADOCS_VALIDATE OFF) +endif(NOT MSVC) mark_as_advanced(BRLCAD_EXTRADOCS_VALIDATE) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |