title: Adding command line arguments to project
body: <p>My question is somewhat similar to this <a href="https://stackoverflow.com/questions/5998186">SO</a> but not the same. </p>
  
  <p>I created a <code>HelloWorld</code> program with the following:</p>
  
  <pre><code>add_executable( HelloWorld ${SRC} )
  </code></pre>
  
  <p>When I generate a project file (for example a Visual Studio .sln file, or an XCode .xcodeproj file). I want to hit the run button and pass in some command line arguments to <code>HelloWorld</code> when it executes the program, like the following: </p>
  
  <pre><code>./HelloWorld --gtest_filter=Test_Cases1*
  </code></pre>
  
  <p>Also see this <a href="https://stackoverflow.com/questions/3697299/">SO</a> for how this is done in Visual Studio. </p>
  
  <p>Is it possible to do this in CMakeList file? If not, why? </p>