Snaipe / Criterion

A cross-platform C and C++ unit testing framework for the 21st century

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having problems using Windows

pjmbs opened this issue · comments

Hello, I was assigned to try Criterion in a college project but I am having problems trying to seu it up in a Windows environment.

I have cloned the repository ttps://github.com/Snaipe/Criterion.git;
-I created the "build" directory;
-I changed into that directory;
-But when I try "cmake .." I get the error message:

CMake Warning:
Ignoring extra path from command line:

".."

CMake Error: The source directory "C:/Users/Pedro/Criterion" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

I am somewhat new to programming and am not sure what I am doing wrong. I was hoping someone here could help me. Thank you.

Are you trying to build Criterion or use for your project at the stage where you are getting the error?

use

meson build
meson compile -C build

will not work in wsl