![]() ![]() 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 and their timestamp updated on subsequent cmake OUTPUT file may be named by at most one invocation of file(GENERATE). With respect to the value of CMAKE_CURRENT_BINARY_DIR.Įxactly one CONTENT or INPUT option must be given. Must evaluate to an unique name for each configuration.Ī relative path (after evaluating generator expressions) is treated 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.Ī relative path is treated with respect to the value ofĬMAKE_CURRENT_SOURCE_DIR. 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. Will be defaulted to respect the Byte Order Mark.įile( GENERATE OUTPUT output-file ) ![]() 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. Use this signature (with some undocumented options for internal use).Parse a list of ASCII strings from and store it in 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 Permissions, PATTERN, REGEX, and EXCLUDE options. See the install(DIRECTORY) command for documentation of Permissions unless explicit permissions or NO_SOURCE_PERMISSIONSĪre given (default is USE_SOURCE_PERMISSIONS). Generated files are modified on subsequent cmake runs only if their contentįile (. Must evaluate to an unique name for each configuration.Įxactly one CONTENT or INPUT option must be given. Specify the output file name to generate. Use the content from a given file as input. Use the content given explicitly as input. Generate the output file for a particular configuration only if “UTF-8” is currently supported.įile ( GENERATE OUTPUT output - file ) ENCODING Ĭonsider strings of a given encoding. REGEX Ĭonsider only strings that match the given regular expression. Intel Hex and Motorola S-record files are automatically converted toīinary while reading unless this option is given. Treat newline characters ( \n, LF) as part of string content Limit the number of total bytes to store in the. Limit the number of input bytes to read from the file. Limit the number of distinct strings to be extracted. LENGTH_MINIMUM Ĭonsider only strings of at least a given length. The options are: LENGTH_MAXIMUM Ĭonsider only strings of at most a given length. Parse a list of ASCII strings from and store it in ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |