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 #77873
VS2015
VS2015-32-bit

00:01:19

passed #77872
VS2015
VS2015-64-bit

00:01:25

passed #77871
VS2017
VS2017-32-bit

00:01:16

passed #77870
VS2015
VS2017-64-bit

00:01:30

passed #77867
Linux
clang-c++11

00:04:06

passed #77869
Linux
cppcheck

00:08:10

passed #77874
Linux
doc

00:00:23

passed #77866
Linux
gcc-c++11

00:02:19

passed #77868
Apple
macos-c++11

00:01:44