Michael Scofield

Results 18 comments of Michael Scofield

~~I've been trying for an hour to get it to work and it seems `target_code_coverage()` just doesn't find `Greeter`... Worth noting that it works with `GreeterTests`.~~ ~~Maybe you will have...

Okay, I don't know how I didn't see this before. It's so simple. To instrument a library target and an executable one, just call `target_code_coverage()` on both. The library one...

As far as I see it, the current solution doesn't support `llvm-cov`? Also, the script makes it really simple and automate by exposing `ccov`, `ccov-all` and `ccov-SpecificTarget` targets. It already...

Yeah, here it is: ``` $ cmake --build build/test --target format Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error...

> > > That's strange, unfortunately I don't have much knowledge in MSVC, so it's hard to say why the project file doesn't exist. Does the error also occur if...

> What happens if you build the format target on the tests after a fresh clone of the template? These are the exact commands I entered: ``` $ git clone...

> I think this might be an issue with CMake, which version are you on? I'm on CMake 3.20.0, which is the latest one.

This might be an important information, but the executable is in `build/test/Debug` instead of `build/test`

Still an issue: ![image](https://user-images.githubusercontent.com/69715407/171252274-9ada91e6-1fea-47b0-96ae-b8e1bb1e0f8b.png)