It's extremely tedious to help you. You don't give clear or meaningful error messages, we always have to ask for every tiny little detail. This thread would not be so long if you a) adhered to the
forum rules and b) took the time to
carefully read tutorials, error messages and do research on your own.
There is no problem with CMake, it works for hundreds of users. Just read the official tutorial carefully, make absolutely sure you don't miss a step, and in case of problems check the obvious things, search whether other people have the same problem, and only if you really can't solve it ask here.