cmCPackDocumentVariables.cxx 795 B

123456789101112131415161718192021222324
  1. #include "cmCPackDocumentVariables.h"
  2. #include "cmake.h"
  3. void cmCPackDocumentVariables::DefineVariables(cmake* cm)
  4. {
  5. // Subsection: variables defined/used by cpack,
  6. // which are common to all CPack generators
  7. cm->DefineProperty
  8. ("CPACK_PACKAGE_VENDOR", cmProperty::VARIABLE,
  9. "The name of the package vendor.",
  10. "If not specified, defaults to \"Humanity\"."
  11. "", false,
  12. "Variables common to all CPack generators");
  13. // Subsection: variables defined/used by cpack,
  14. // which are specific to one CPack generator
  15. cm->DefineProperty
  16. ("CPACK_RPM_PACKAGE_NAME", cmProperty::VARIABLE,
  17. "RPM specific package name.",
  18. "If not specified, defaults to CPACK_PACKAGE_NAME."
  19. "", false,
  20. "Variables specific to a CPack generator");
  21. }