title: cpack deb generator components output names
body: <pre><code>install (TARGETS ${PROJECT_NAME}_shared DESTINATION ${CMAKE_INSTALL_PREFIX}/lib 
      COMPONENT runtime)
  install (TARGETS ${PROJECT_NAME}_static DESTINATION ${CMAKE_INSTALL_PREFIX}/lib 
      COMPONENT development)
  install (FILES ${INCLUDES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include
      COMPONENT development)
  
  ...
  set (CPACK_PACKAGE_FILE_NAME 
      "lib${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
  </code></pre>
  
  <p>I have 2 deb packages as a result:</p>
  
  <pre><code>libmpreal_0.1.1-1_amd64-development.deb
  libmpreal_0.1.1-1_amd64-runtime.deb
  </code></pre>
  
  <p>But I want to have for debian standarts another names:</p>
  
  <pre><code>libmpreal-dev_0.1.1-1_amd64.deb
  libmpreal_0.1.1-1_amd64.deb
  </code></pre>
  
  <p>Now I am reading <a href="https://github.com/Kitware/CMake/blob/master/Source/CPack/cmCPackDebGenerator.cxx" rel="nofollow">this</a> at the method <strong>cmCPackDebGenerator::PackageOnePack</strong>
  here is a code:</p>
  
  <pre><code>outputFileName(
      std::string(this-&gt;GetOption("CPACK_PACKAGE_FILE_NAME")) 
      + "-" + packageName + this-&gt;GetOutputExtension()
  );
  </code></pre>
  
  <p>Does this mean that I cant specify a name for my packages?! I would like to make a mistake..</p>