cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.21k stars 474 forks source link

cmake: Rename TEST_APPS as LIBSRTP_TEST_APPS option #641

Closed yangskyboxlabs closed 1 year ago

yangskyboxlabs commented 1 year ago

Rename configuration option TEST_APPS to LIBSRTP_TEST_APPS, and use option(...) instead of set(... CACHE). This makes it easier to disable tests when using libSRTP as a subproject.

Bump minimum CMake version to 3.13 so the NEW behavior of Policy CMP007 is always used. Existing workspaces with default TEST_APPS value will see no change in behaviour, but those that have disabled tests will need to reconfigure with the new option.