Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Add separate unit test targets
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.
- Loading branch information
Showing
2 changed files
with
43 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters