With cmake we can split a project in multiple subfolders. From the top CMakeLists.txt we then call the sub CMakeLists.txt With
add_subdirectory(moduleb)