add CMakeLists.txt to root and libs