5 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
b7f69cef9c Docs: Switch from UseDoxygen to doxygen_add_docs
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.

Also, made docs disableable via an ENABLE_AUDIO_DOCS option, and adopt
FeatureSummary into the build.

Remove Doxyfile.in template

CI: Don't autoinstall API docs

Delete Doxyfile.in

Docs: Use PROJECT_VERSION_FULL

Don't pre-process source files
2021-08-22 04:17:37 -04:00
Frank Dana
a86c0ec13c CMake: Create and install EXPORTED configuration (#118)
* Rename header to OpenShotAudio.h
* Rename, rewrite openshot-audio-demo
* CMake: EXPORT targets, other updates
* Add Config.cmake.in export template
* Add FindASIO.cmake for SDK discovery
* Install FindASIO.cmake with exported config
2021-04-18 18:48:22 -04:00
FeRD (Frank Dana)
1438ace4ab Fix some bugs in UseDoxygen.cmake
There was a bug in the definition of `DOXYFILE_LATEX`, and _another_
in the processing of it (which were the only reason it wasn't
defaulting on, the way it appeared to be configured), fixed the
bug and changed it to default OFF. But now it _can_ be enabled.

Also moved the handling of `DOXYFILE_DOT` out of the latex-only
section, so that it can be turned on with the new config variable
`DOXYFILE_USE_DOT` (default on). If `DOXYFILE_USE_DOT` is enabled
and the `dot` executable is found, `DOXYFILE_DOT` will be set "YES"
and `dot` will be used for the HTML as well, giving better graphs.
2019-06-30 23:45:54 -04:00
FeRD (Frank Dana)
76794f62a3 Use updated, improved UseDoxygen.cmake 2019-04-04 23:54:36 -04:00
Jonathan Thomas
d299b23ad8 Added doxygen support (mainly for JUCE code), and simplied the install scripts 2012-08-08 12:36:29 -05:00