how do you build a project of cmake with epoll-shim.

I would use:

cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo

first creates buildsystem

cmake —build build —targets all

than start the build steps