~ubuntu-branches/ubuntu/utopic/cmake/utopic

« back to all changes in this revision

Viewing changes to Source/cmExportCommand.h

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-10-10 12:54:39 UTC
  • mfrom: (1.14.7)
  • Revision ID: package-import@ubuntu.com-20131010125439-h0ahaj004on6oj92
Tags: 2.8.12-0ubuntu1
New upstream release LP: #1246701

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    {
64
64
    return
65
65
      "  export(TARGETS [target1 [target2 [...]]] [NAMESPACE <namespace>]\n"
66
 
      "         [APPEND] FILE <filename>)\n"
 
66
      "         [APPEND] FILE <filename> [EXPORT_LINK_INTERFACE_LIBRARIES])\n"
67
67
      "Create a file <filename> that may be included by outside projects to "
68
68
      "import targets from the current project's build tree.  "
69
69
      "This is useful during cross-compiling to build utility executables "
73
73
      "prepended to all target names written to the file.  "
74
74
      "If the APPEND option is given the generated code will be appended "
75
75
      "to the file instead of overwriting it.  "
 
76
      "The EXPORT_LINK_INTERFACE_LIBRARIES keyword, if present, causes the "
 
77
      "contents of the properties matching "
 
78
      "(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)? to be exported, when "
 
79
      "policy CMP0022 is NEW.  "
76
80
      "If a library target is included in the export but "
77
81
      "a target to which it links is not included the behavior is "
78
82
      "unspecified."
104
108
  cmCAEnabler Append;
105
109
  cmCAString Namespace;
106
110
  cmCAString Filename;
 
111
  cmCAEnabler ExportOld;
107
112
 
108
113
  friend class cmExportBuildFileGenerator;
109
114
  std::string ErrorMessage;