title: CMake generate list of source files without glob
body: <p>I'm currently using this piece of code to generate my list of source files
  for CMake to compile my C++ project:</p>
  
  <pre><code>file(GLOB CPP_FILES src/*.cpp)
  </code></pre>
  
  <p>As I have read here that this is discouraged by CMake I would like to know if I can <strong>list the source files explicitly</strong> for CMake using CMake, as I am not familiar with scripting languages like Python.</p>
  
  <p>I'm asking this as it would require a lot of work to add all the cpp files manually into CMake, especially when working with multiply people.</p>
  
  <p>The project is platform-independent and my source files are in a sub-folder.</p>