cmCPackDocumentVariables.cxx 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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_PACKAGING_INSTALL_PREFIX", cmProperty::VARIABLE,
  9. "The prefix used in the built package.",
  10. "Each CPack generator has a default value (like /usr)."
  11. " This default value may"
  12. " be overwritten from the CMakeLists.txt or the cpack command line"
  13. " by setting an alternative value.\n"
  14. "e.g. "
  15. " set(CPACK_PACKAGING_INSTALL_PREFIX \"/opt\")\n"
  16. "This is not the same purpose as CMAKE_INSTALL_PREFIX which"
  17. " is used when installing from the build tree without building"
  18. " a package."
  19. "", false,
  20. "Variables common to all CPack generators");
  21. // Subsection: variables defined/used by cpack,
  22. // which are specific to one CPack generator
  23. // cm->DefineProperty
  24. // ("CPACK_RPM_PACKAGE_NAME", cmProperty::VARIABLE,
  25. // "RPM specific package name.",
  26. // "If not specified, defaults to CPACK_PACKAGE_NAME."
  27. // "", false,
  28. // "Variables specific to a CPack generator");
  29. }