Diff of /CMakeLists.txt [c7bc9e] .. [20a6d9]  Maximize  Restore

  Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -97,6 +97,14 @@
   ENDIF (BUILD_CORE_UTILITIES AND BUILD_CORE_SERIALISATION)
 ENDIF (BUILD_CORE_GEOMETRY AND BUILD_CORE_NUMERICS)
 
+# Optionally use old error reporting methods, rather than exceptions.
+# The main use is in vil which often uses/used null images to imply an error.
+OPTION (VXL_LEGACY_ERROR_REPORTING "Use old error reporting methods rather than exceptions?" YES)
+IF (VXL_LEGACY_ERROR_REPORTING)
+  ADD_DEFINITIONS( -DVXL_LEGACY_ERROR_REPORTING )
+ENDIF (VXL_LEGACY_ERROR_REPORTING)
+
+
 
 # Options to build no longer maintained libraries.
 # It is still useful to have the dashboard check that they are correct,

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks