Newer versions of Catch2 require C++14 to compile, a requirement
that won't be propagated to the object library unless we link it
to the IMPORTED Catch2::Catch2 target.
* CVTracker: Handle API changes in OpenCV
The former cv::Tracker API we've been using is now cv::legacy::Tracker,
starting in OpenCV 4.5.1.
* CVTracker: Move some includes, add std:: prefixes
* Move ClipProcessingJobs into openshot NS
* OpenCV 4.5.1 message and auto-disabling
* Add fstream includes, explicit std:: namespace
Work around a MacOS bug where bare fstream resolves to the wrong class.
Co-authored-by: Brenno <brenno.caldato@gmail.com>
Co-authored-by: Brenno A. C. Caldato <BrennoCaldato@users.noreply.github.com>
Each unit test file ClassName.cpp, which results in the creation
of a test target openshot-ClassName-test, will now also be labeled
with the CTest label ClassName, and a target ClassName_coverage
will be generated that runs only the tests in that file.
This is especially useful when developing tests for a class, as
the tests in the class being worked on can be re-run without
having to wait a minute or more while the other tests run.
* Remove no-longer-used cmake Modules
* Don't use OpenShot.h in ExampleHtml.cpp
When `#include`-ing the whole mess, building the file was leading
to what looked like out-of-memory errors. Replacing the monolithic
header with just the necessary ones cleared it up.
* .gitlab-ci.yml: Update for new Windows setup
* Make unit tests work under Windows
- Copying the built and depended (libopenshot-audio) DLLs into
the unit test dir before building the tests ensures that when
the test executables are run by the Catch.cmake module to
discover their contents, the executables will find the DLLs
they need in order to run.
* Gitlab-ci: Run unit tests on Windows
* Rename openshot-html-example
(The former name, openshot-html-test, was too close to the new
name format for all of our unit test executables, making things
unnecessarily confusing.)
* Rename JuceHeader.h to OpenShotAudio.h
* Github Actions: Install ALSA libs
With the switch to an EXPORTED CMake configuration for
libopenshot-audio, its dependencies become our dependencies.
Which means that CMake now correctly requires that the ALSA
libs be installed.