Since CMake 3.11, the supported method of integrating Doxygen into
CMake projects has been via the doxygen_add_docs() CMake function,
which (crucially) can be passed a target name to create and doesn't
rely on tons of hardcoding like our UseDoxygen.cmake and its
Doxyfile.in template did.
This means our docs (only) now require CMake 3.11 to generate, but it
allows Doxygen to be configured/used multiple times in the same CMake
configuration, removing a major barrier to superproject builds.
* reuse-managed license/copyright headers
reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.
* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
- Add headers to source files
- Change blanket licensing in .reuse/dep5 to only cover binary media
- Import CC-BY-3.0 license and assign to sintel_trailer
Includes code amendments as requested upstream, improved accuracy,
new keying methods and the addition of a secondary halo threshhold
(pixels in the halo threshold get an alpha between zero and one).
- Add fallback component version parsing from the individual
<includedir>/<libname>/version.h headers
- Switch to FFmpeg_<component>_<property> variable names, standard
for CMake component variables
- No longer probe for non-requested components
- Use HANDLE_COMPONENT in find_package_handle_standard_args
- Parse, export overall FFmpeg_VERSION from libavutil/ffversion.h
* 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)