title: run cmake with a txt file
body: <p>When I run my C++ program I need it to open a text file stored in my root directory. How can I make CMake to execute the program I have written with the text file?</p>
  <p>When I build my program with Makefile alone, I use the command</p>
  <pre><code>./&quot;executable&quot; src/&quot;txt file&quot;
  </code></pre>