Note that lock is advisory - there is no guarantee that other processes will Otherwise result will be stored in Īnd will be 0 on success or error message on failure. Any errors will be interpreted as fatal if there is no TIMEOUT is not 0 CMake will try to lock file for the period specifiedīy value. If TIMEOUT is set toĠ lock will be tried once and result will be reported immediately. Wait until lock succeed or until fatal error occurs. If option TIMEOUT is not specified CMake will Lock a file specified by if no DIRECTORY option present and file Use this signature (with some undocumented options for internal use).įile ( LOCK ) Installation scripts generated by the install() command Status messages (subject to the CMAKE_INSTALL_MESSAGE variable), The INSTALL signature differs slightly from COPY: it prints Of their content even if options are used to select a subset of Copying directories preserves the structure ![]() Permissions, FILES_MATCHING, PATTERN, REGEX, andĮXCLUDE options. ![]() See the install(DIRECTORY) command for documentation of Permissions unless explicit permissions or NO_SOURCE_PERMISSIONSĪre given (default is USE_SOURCE_PERMISSIONS). Preserves input file timestamps, and optimizes out a file if it existsĪt the destination with the same timestamp. To the current source directory, and a relative destination isĮvaluated with respect to the current build directory. Relative input paths are evaluated with respect The COPY signature copies files, directories, and symlinks to aĭestination folder. The output file will not yet have been written when theįile(GENERATE) command returns, it is written only after processing allįile (. Note also that file(GENERATE) does not create the output file until the Generated files are modified on subsequent cmake runs only if their content OUTPUT file may be named by at most one invocation of file(GENERATE). Must evaluate to an unique name for each configuration.Įxactly one CONTENT or INPUT option must be given. Multiple configurations may generate the same output file only Such as $ to specify a configuration-specific output file OUTPUT Specify the output file name to generate. INPUT Use the content from a given file as input. CONTENT Use the content given explicitly as input. The condition must be either 0 or 1Īfter evaluating generator expressions. The options are: CONDITION Generate the output file for a particular configuration only if Generate an output file for each build configuration supported by the currentįrom the input content to produce the output content. Suboption can be repeated several times.įile ( GENERATE OUTPUT output - file ) USERPWD : Set username and password for operation. ![]() TIMEOUT Terminate the operation after a given total time has elapsed. The first element is the numeric return value for the operation,Īnd the second element is a string value for the error.Ī 0 numeric error means no error in the operation. The status is a separated list of length 2. STATUS Store the resulting status of the operation in a variable. SHOW_PROGRESS Print progress information as status messages until the operation isĬomplete. LOG Store a human-readable log of the operation in a variable. Options to both DOWNLOAD and UPLOAD are: INACTIVITY_TIMEOUT Terminate the operation after a period of inactivity. The UPLOAD mode uploads a local to a given. The DOWNLOAD mode downloads the given to a local. Will be defaulted to respect the Byte Order Mark.įile ( DOWNLOAD ) file ( UPLOAD ) Is not provided and the file has a Byte Order Mark, the ENCODING option ENCODING Consider strings of a given encoding. REGEX Consider only strings that match the given regular expression. NO_HEX_CONVERSION Intel Hex and Motorola S-record files are automatically converted toīinary while reading unless this option is given. NEWLINE_CONSUME Treat newline characters ( \n, LF) as part of string content LIMIT_OUTPUT Limit the number of total bytes to store in the. LIMIT_INPUT Limit the number of input bytes to read from the file. LIMIT_COUNT Limit the number of distinct strings to be extracted. LENGTH_MINIMUM Consider only strings of at least a given length. The options are: LENGTH_MAXIMUM Consider only strings of at most a given length. ![]() Parse a list of ASCII strings from and store it in
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |