Updated CMakeLists.txt to only compile the completed code