Does anyone know how to generate a CMakeLists.txt file that will cover all files in the opened Linux project and will fully enable Code navigation? I have a code project with a ton of files and no CMakeLists.txt. So I want to open the root directory and generate a CMakeLists.txt file that will index and enable source navigation of all the files in the root directory.
Note I'm interested in CLion 2020.3 for LINUX, a step-by-step guide. I've seen examples for Windows and that isn't helping.