Im trying to create the cmake files for a project, but cant find how to achieve it. The project has this structure:
project-dir
src
sources1
sources2
I have tried several combinations, but cant make it work. So, I have to specify all source files manually in the CMakeLists.txt located at src. How can I implement this?