title: How do I get CLion to run an install target
body: <p>I'm evaluating CLion 1.2.1 on an existing project which is already using  CMake. The project is made up of a few library modules and a single executable.</p>
  
  <p>I have an install target which I use to collect the executable and a configuration file together in a bin folder for debugging:</p>
  
  <pre><code>...
  install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_BINARY_DIR}/bin/)
  install(FILES config.xml DESTINATION ${CMAKE_BINARY_DIR}/bin/)
  </code></pre>
  
  <p>When building on the command line I'd just run:</p>
  
  <pre><code>make install
  </code></pre>
  
  <p>which as expected builds the binaries and if successful then runs the above install commands.</p>
  
  <p>My problem is that I can't get CLion to run the 'install' target. I expected to be able to create a new Run/Debug configuration but the Target: dropdown only contains those targets added using <em>add_executable()</em> and <em>add_library()</em>.</p>
  
  <p>I also tried adding 'install' to the Build options in the Settings dialog. That however runs install for every target now including 'clean' which is not right.</p>