Tpetra: Hide all currently deprecated code with TPETRA_ENABLE_DEPRECATED_CODE macro
Created by: mhoemmen
@trilinos/tpetra
-
For anything in Tpetra marked with TPETRA_DEPRECATED
, wrap it in#ifdef TPETRA_ENABLE_DEPRECATED_CODE ... #endif
. -
Make sure that all downstream code builds with TPETRA_ENABLE_DEPRECATED_CODE
not defined (it is currently defined by default; set the CMake optionTpetra_ENABLE_DEPRECATED_CODE
(case significant) toOFF
, in order to build with the macro not defined).