Allow completely disabling deprecated APIs with CMake option OVM_ENABLE_DEPRECATED_APIS

At some point in the future, we should switch the default to OFF.
9 jobs for cmake-option-deprecated-apis in 8 minutes and 10 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed clang-c++11 #77867
Linux

00:04:06

passed cppcheck #77869
Linux

00:08:10

passed doc #77874
Linux

00:00:23

passed gcc-c++11 #77866
Linux

00:02:19

passed macos-c++11 #77868
Apple

00:01:44

passed VS2015-32-bit #77873
VS2015

00:01:19

passed VS2015-64-bit #77872
VS2015

00:01:25

passed VS2017-32-bit #77871
VS2017

00:01:16

passed VS2017-64-bit #77870
VS2015

00:01:30