cmake-scripts icon indicating copy to clipboard operation
cmake-scripts copied to clipboard

Add hook to create ccov target each time that add_ex.. and add_lib...…

Open rlalik opened this issue 3 years ago • 1 comments

… is called.

The main motivation for this change was laziness. If I need coverage for each and every target in my project I do not want to double every add_* function with extra to add coverage, I want cmake to do it for me.

rlalik avatar May 05 '22 19:05 rlalik

Ok, I need to work on this a bit more. For sure my two other pull-request are also included in this PR (I later split it into separate) here so I would ask to accept these two first:

  • one for PLAIN option #36
  • second for change of the ccov targets dependencies #37

before proceeding with this. Then I make this PR smaller.

rlalik avatar May 06 '22 14:05 rlalik