title: CMakeLists Multiple Source Files
body: <p>Hi I have a directory called <code>"Question 1"</code> with the following structure:</p>
  
  <pre><code>.idea 
  cmake-build-debug
  1a.c
  1b.c
  1c.c
  CMakeLists.txt
  </code></pre>
  
  <p><code>.idea and cmake-build-debug</code> are folders containing other data which come default when creating a project (I'm using CLion), the other 3 are my source files i.e. <code>1a.c, 1b.c, 1c.c</code>. My <code>CMakeLists.txt</code> file contains the following: </p>
  
  <pre><code>cmake_minimum_required(VERSION 3.7)
  project(CLion)
  
  set(CMAKE_C_STANDARD 99)
  
  set(SOURCE_FILES 1b.c)
  add_executable(CLion ${SOURCE_FILES})
  </code></pre>
  
  <p>As you can imagine per above I can only run the source file <code>1b.c</code>. How do I edit <code>CMakeLists.txt</code> so that I can build an executable for each source file?</p>