cmInstallFilesGenerator.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmInstallFilesGenerator_h
  14. #define cmInstallFilesGenerator_h
  15. #include "cmInstallGenerator.h"
  16. /** \class cmInstallFilesGenerator
  17. * \brief Generate file installation rules.
  18. */
  19. class cmInstallFilesGenerator: public cmInstallGenerator
  20. {
  21. public:
  22. cmInstallFilesGenerator(std::vector<std::string> const& files,
  23. const char* dest, bool programs,
  24. const char* file_permissions,
  25. std::vector<std::string> const& configurations,
  26. const char* component,
  27. const char* rename,
  28. bool optional = false);
  29. virtual ~cmInstallFilesGenerator();
  30. protected:
  31. typedef cmInstallGeneratorIndent Indent;
  32. virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
  33. std::vector<std::string> Files;
  34. bool Programs;
  35. std::string FilePermissions;
  36. std::string Rename;
  37. bool Optional;
  38. };
  39. #endif