* 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.
- Parameters assigned to ImageMagick::Magick++ will now follow
the 'openshot' shared-library target wherever it's linked, even in
build subdirectories that aren't children or siblings of the
location where the target was created.
- Removed the redundant code duplicating `find_package(ImageMagick)`
checks. Multiple dependency scans have only been necessary as a
workaround to overcome CMake variables' restricted scope.
Targets do not share that limitation.
FindOpenShotAudio.cmake: Enhance with targets
- Also, migrate as much config as possible from CMakeLists.txt files
to properties of IMPORTED OpenShot::Audio target (including platform-
specific configs)
- Rename to match package naming used elsewhere (official configs)
- Add IMPORTED target creation to the Find module, along with
version number detection
- Switch to lowercase variable forms (e.g. jsoncpp_FOUND)
The same old variables will be respected for setting the path, but the
PREFERRED method is defining `-DUnitTest++_ROOT=/path/to` on the
CMake command line. _ROOT variables are handled with extra intelligence
by CMake.
The find module will also attempt to locate the pkg-config file
UnitTest++.pc, and if found will import its data.