Cmake now compiles source code effectively