Replacing file GLOB usage with explicit file mentions.
In a CMakeLists.txt (here) file we have used file(GLOB <Var> ./*.cpp) like functions which is not a good practice.
So, what i would like to have is CMakeLists.txt for each folders and add_subdirectory(<folders>) in the root CMAKE. Try to explicitly locate each source file and link it with target.
References
- There is already similar structure in some part of current project
- ARNE_MERTZ BLOG ON PROJECT STRUCTURE