title: CLion with Qt automoc files generated in project
body: <p>I have got following problem:</p>
  
  <p>using CLion with Qt for programming I have some problems with autogenerated automoc files (all *automoc.cpp files annoyingly appear in my project view).</p>
  
  <p>The way I configured CMake to use Qt is as follows:</p>
  
  <ul>
  <li><p>invoke CONFIGURE_QT5() macro, which code is:</p>
  
  <pre><code>macro(CONFIGURE_QT5)
      set(CMAKE_INCLUDE_CURRENT_DIR ON)         
      set(CMAKE_AUTOMOC ON)
      set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";" ${QT5_PACKAGE_DIR})
  
      find_package(Qt5Widgets REQUIRED)
  endmacro()
  </code></pre></li>
  <li><p>link libraries:</p>
  
  <pre><code>target_link_libraries(${PROJECT_NAME} Qt5::Widgets)
  </code></pre></li>
  </ul>
  
  <p>After each build there are automoc files generated for each CMake project for my build, which appear on top of my Project View in CLion (note: I cannot find those files in the directory in simple explorer).</p>
  
  <p>Any advice on how to get rid of them from the project view? Or maybe how to do it the hard way - delete them after build is finished?</p>