Commit Graph

56 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
d0e5d061f0 CodeCoverage: import upstream PR changes 2019-12-23 08:18:57 -05:00
FeRD (Frank Dana)
1df9840705 Import CodeCoverage changes 2019-12-15 01:12:07 -05:00
FeRD (Frank Dana)
14dc2b38e2 CodeCoverage: Import upstream changes 2019-12-14 20:23:19 -05:00
FeRD (Frank Dana)
66febac6b1 Lowercase function names, add change comment 2019-12-14 20:21:50 -05:00
FeRD (Frank Dana)
a697bda9c5 Use full paths in COVERAGE_LCOV_EXCLUDES examples 2019-12-14 20:20:55 -05:00
FeRD (Frank Dana)
0710ecc168 Fix demangling
Generator expressions don't work in set(), or in the COMMAND arg
to add_custom_target().
2019-12-10 15:31:45 -05:00
FeRD (Frank Dana)
a2513823d5 Remove Python detection from CodeCoverage 2019-12-07 17:05:01 -05:00
FeRD (Frank Dana)
ab3aef4564 Set lcov base directory to PROJECT_SOURCE_DIR 2019-12-07 14:31:15 -05:00
FeRD (Frank Dana)
70bf3df41d CodeCoverage.cmake: Add demangling, cleanup 2019-12-07 13:45:28 -05:00
Daniel Jour
ba4fc5cecf Enable coverage reporting for openshot-test
Uses CodeCoverage.cmake from [1] to build libopenshot with gcov
support.  Option ENABLE_COVERAGE enables this and sets a target
test_coverage which builds and runs openshot-tests and collects
coverage information into a html report

[1]: https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake
2019-11-19 11:27:17 +01:00
FeRD (Frank Dana)
e7a9c11fd6 Merge branch 'develop' into qt-targets 2019-11-04 04:58:57 -05:00
FeRD (Frank Dana)
42daa20056 FindFFmpeg: Expand duplicate-removal
Repeated invocations (e.g. `cmake .` in an already-configured dir) might 
cause variables to collect duplicates.
2019-11-04 03:33:19 -05:00
Frank Dana
de1327ca10 Fix Windows ZeroMQ for real (#357)
* Rework FindZeroMQ again for Windows
* Let Windows auto-detect ZeroMQ path
2019-11-01 19:37:13 -04:00
FeRD (Frank Dana)
fa3f83d184 FindZeroMQ: Only create valid targets 2019-11-01 15:31:15 -04:00
Frank Dana
04724cfcd7 Merge branch 'develop' into zmq-targets 2019-10-30 05:01:24 -04:00
FeRD (Frank Dana)
a1034046a2 ZeroMQ: Use IMPORTED targets
- Adopt FindZeroMQ.cmake from cppzmq, and use its `libzmq` target
- Also use `cppzmq` target, if created
2019-10-26 07:24:28 -04:00
Frank Dana
13e68c368e Merge branch 'develop' into ffmpeg-targets 2019-10-25 02:03:10 -04:00
Jonathan Thomas
69f15ad0d0 Merge pull request #331 from ferdnyc/ferdnyc-patch-1
Delete FindPythonLibs.cmake
2019-10-22 18:33:16 -05:00
FeRD (Frank Dana)
beab952702 FindFFmpeg: Default to all components, if not specified 2019-10-03 04:17:13 -04:00
FeRD (Frank Dana)
5bf3893498 FindFFmpeg.cmake: create targets 2019-10-02 08:28:17 -04:00
Frank Dana
c78d030b5b Delete FindPythonLibs.cmake
Our copy of the module is outdated, and fails detecting Python 3.8. (Besides, we shouldn't be mirroring standard CMake modules.)
2019-09-18 21:25:34 -04:00
Frank Dana
935a740cff Remove spurious include
That wasn't supposed to be in there.
2019-07-12 19:12:31 -04:00
FeRD (Frank Dana)
8dcefbd87c Overhaul FindOpenShotAudio.cmake
* Version checking!
  - Supports EXACT
    (but only for M.N.B, e.g. 0.1.8-dev1 matches 0.1.8 EXACT)
  - REQUIRED will now cause CMake to abort if version is not
    sufficient (lower than requested)
  - Outputs the following:
    - Version requested, if set
    - Version found, if successfully parsed from header
    - Compatibility status, if version set on both ends
* Accept `LIBOPENSHOT_AUDIO_DIR` cache variable, in addition to
  the environment variable (for `cmake -DLIBOPENSHOT_AUDIO_DIR=...`)
* Do two-stage search for both headers and libs
  (Avoids this situation...)
  LIBOPENSHOT_AUDIO_INCLUDE_DIRS=/usr/include/libopenshot-audio
  LIBOPENSHOT_AUDIO_LIBRARY=/home/ferd/build/

(Largely inspired by CMake's `FindPythonLibs.cmake`)
2019-07-12 18:28:40 -04:00
FeRD (Frank Dana)
95aca48831 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-13 06:54:16 -04:00
eisneinechse
8b1a7ceb67 Merge branch 'develop' into hardware-support 2019-04-06 09:33:22 -07:00