summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDocumentVariables.cxx
blob: 1c98e7c060d5028dd04fb025bbf57a3b44ef5588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "cmCPackDocumentVariables.h"
#include "cmake.h"

void cmCPackDocumentVariables::DefineVariables(cmake* cm)
{
  // Subsection: variables defined/used by cpack,
  // which are common to all CPack generators
  cm->DefineProperty
    ("CPACK_PACKAGE_NAME", cmProperty::VARIABLE,
     "The name of the package (or application).",
     "If not specified, defaults to the project name."
     "", false,
     "Variables common to all CPack generators");

  cm->DefineProperty
      ("CPACK_PACKAGE_VENDOR", cmProperty::VARIABLE,
       "The name of the package vendor.",
       "If not specified, defaults to \"Humanity\"."
       "", false,
       "Variables common to all CPack generators");

  // Subsection: variables defined/used by cpack,
  // which are specific to one CPack generator
  cm->DefineProperty
      ("CPACK_RPM_PACKAGE_NAME", cmProperty::VARIABLE,
       "RPM specific package name.",
       "If not specified, defaults to CPACK_PACKAGE_NAME."
       "", false,
       "Variables specific to a CPack generator");
}