title: How locate .cpp Files in a "src directory" using CMake?
body: <p>I am learning c++ and cmake at the moment. I have my source files in the main directory where <code>CMakeLists.txt</code> is located. I want to store all source files in a /src directory, but i have no idea how to locate them in CMake.</p>
  
  <p>My CMake File</p>
  
  <pre><code>cmake_minimum_required(VERSION 2.8)
  project(game)
  
  set(GAME_ALL_SOURCES
      main.cpp check.cpp
  )
  
  add_executable(game ${GAME_ALL_SOURCES})
  target_link_libraries(game sfml-graphics sfml-window sfml-system)
  </code></pre>
  
  <p>Anyone a suggestion how to handle it?</p>
  
  <p>best regards</p>