title: How to write a cmake function with more than one parameter groups?
body: <p>For example, I want write a <code>my_add_lib</code> function with the following syntax:</p>
  
  <pre><code>my_add_lib(NAME &lt;name&gt;
             SRCS [src1 [src2 ...]]
             DEPS [dependency1 [dependancy2 ...]]])
  </code></pre>
  
  <p>How to do implement these "parameter group"?</p>