K
K
knighter2019-08-14 11:36:20
C++ / C#
knighter, 2019-08-14 11:36:20

How to add tests to a CMake project in Visual Studio?

I'm working with a CMake project in Visual Studio (using MinGW, no SLN solution file).
There was a need to cover the project with tests, I want to use the integrated testing system in VS.
How to set it up? Adding a second project for tests seems like the most reasonable option, but it doesn't seem to work in CMake project mode.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question