title: How to integrate ANTLR with CMake?
body: <p>I'm trying to make CMake generate source files with ANTLR without any success.</p>
  
  <p>Here command I'm using to generate these files:</p>
  
  <pre><code>$ antlr grammar/MyGrammar.g -fo src/parser
  </code></pre>
  
  <p>My executable target is defined in <code>PROJECT/src/CMakeLists.txt</code>, instead of <code>PROJECT/CMakeLists.txt</code>.</p>