title: How to hide targets in Visual Studio from CMake
body: <p>I am generating a .sln with CMake.
  I want to use Google Test and use that kind of code for adding a new tests:</p>
  
  <pre><code>add_executable(my_test test/my_test.cpp)
  target_link_libraries(my_test gtest gmock_main)
  add_test(NAME my_test COMMAND my_test)
  </code></pre>
  
  <p>It works fine, but when I open my .sln, I have all the targets appearing in the solution explorer: the libraries, the unit tests, etc.</p>
  
  <p>Is there a way to hide these target?</p>