brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.0 KiB · fc9a7e6 Raw
26 lines · plain
1include "llvm/Option/OptParser.td"2 3class F<string letter, string help> : Flag<["-", "--"], letter>, HelpText<help>;4class FF<string name, string help> : Flag<["-", "--"], name>, HelpText<help>;5class S<string letter, string help> : Separate<["-", "--"], letter>, HelpText<help>;6class SS<string name, string help> : Separate<["-", "--"], name>, HelpText<help>;7class JS<string letter, string help> : JoinedOrSeparate<["-", "--"], letter>, HelpText<help>;8 9def help : FF<"help", "Display this help">;10def : F<"h", "">, Alias<help>;11def deterministicOption : F<"D","Use zero for timestamps and UIDs/GIDs (Default)">;12def nonDeterministicOption : F<"U", "Use actual timestamps and UIDs/GIDs">;13def version : FF<"version", "Display the version of this program">;14def : F<"V", "Print the version number and exit">, Alias<version>;15def noWarningForNoSymbols : FF<"no_warning_for_no_symbols", "Do not warn about files that have no symbols">;16def warningsAsErrors : FF<"warnings_as_errors", "Treat warnings as errors">;17def static : Flag<["-", "--"], "static">, HelpText<"Produce a statically linked library from the input files">;18def outputFile : S<"o", "Specify output filename">, MetaVarName<"<filename>">;19def fileList : SS<"filelist", "Pass in file containing a list of filenames">, MetaVarName<"<listfile[,dirname]>">;20def archType : SS<"arch_only", "Specify architecture type for output library">, MetaVarName<"<arch_type>">;21def libraries : JS<"l", "l<x> searches for the library libx.a in the library search path. If the string 'x'"#22                       " ends with '.o', then the library 'x' is searched for without prepending 'lib' or appending '.a'">, MetaVarName<"<x>">;23def librarySearchDirs : JS<"L", "L<dir> adds <dir> to the list of directories in which to search for libraries">, MetaVarName<"<dir>">;24def ignoredSyslibRoot : SS<"syslibroot", "">, Flags<[HelpHidden]>;25def dependencyInfoPath : SS<"dependency_info", "Write an Xcode dependency info file describing the dependencies of the created library">, MetaVarName<"<string>">;26