title: Multiple directories under CMake
body: <p>I'm currently using recursive make and autotools and am looking to migrate to CMake for a project that looks something like this:</p>
  
  <pre><code>lx/ (project root)
      src/
          lx.c (contains main method)
          conf.c
          util/
              str.c
              str.h
              etc.c
              etc.h
          server/
              server.c
              server.h
              request.c
              request.h
          js/
              js.c
              js.h
              interp.c
              interp.h
      bin/
          lx (executable)
  </code></pre>
  
  <p>How should I go about this?</p>