CMake is a haneous piece of software, but somehow it has more popularity than others. These are my notes on inane BS I have to deal with time to time in CMake.
Postfix like _Debug and _Release added to library names in windows.
-DCMAKE_VERBOSE_MAKEFILE=true
or
make VERBOSE=1
--log-level=DEBUG
cmake -S dbparser -B dbparser/build -DCMAKE_BUILD_TYPE=Release && cmake --build dbparser/build -j