Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmake -E tar: Add --touch option | Kasper Laudrup | 2022-03-23 | 1 | -3/+8 |
| | | | | | | | | Similar to GNU tar add a --touch option to the tar extract command to skip extracting the timestamps from the files in the archive effectively touching them as if they were just created. Issue: #22746 | ||||
* | file(DOWNLOAD): Add options to download a range | m.klimenko | 2022-02-15 | 1 | -0/+31 |
| | |||||
* | file: Fix types of the OFFSET and LIMIT arguments | Alexey Edelev | 2022-01-13 | 1 | -14/+9 |
| | | | | | | | | | | OFFSET argument cannot handle offsets bigger than INT_MAX because of the atoi function, which is used to convert the argument string to integer. Same applies for the LIMIT argument. Use the steam based reading and 64-bit types to convert and store arguments to avoid invalid values stored in the corresponding variables. Fixes: #23076 | ||||
* | Merge topic 'file-READ_ELF-capture-error' | Brad King | 2022-01-12 | 1 | -3/+8 |
|\ | | | | | | | | | | | | | | | 41bebbe50a file: Restore error capture in undocumented READ_ELF mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6853 | ||||
| * | file: Restore error capture in undocumented READ_ELF mode | Brad King | 2022-01-11 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | Revise the error message added by commit 115ff6a347 (cmELF: Include the ELF parsing code unconditionally, 2021-06-17, v3.22.0-rc1~557^2) to honor the `CAPTURE_ERROR` option. This is needed by the call site in `BundleUtilities` to suppress errors on non-ELF files. Fixes: #23074 | ||||
* | | cmFileCommand: Update for new signature of GetLineFromStream | Brad King | 2022-01-11 | 1 | -6/+4 |
| | | |||||
* | | Source: Replace most calls to sprintf with snprintf | Sean McBride | 2021-10-25 | 1 | -3/+4 |
|/ | |||||
* | cmFileCommand: improve error message | Seth R Johnson | 2021-10-12 | 1 | -3/+6 |
| | | | | | Print full list of unresolved dependencies and a phrase that indicates what about the file is unresolved. | ||||
* | Source: Fix clang -Wimplicit-fallthrough warnings | Sean McBride | 2021-09-28 | 1 | -1/+2 |
| | |||||
* | Rename cmProp in cmValue | Marc Chevrier | 2021-09-21 | 1 | -5/+5 |
| | |||||
* | cmCurlSetCAInfo: use std::string as argument | Marc Chevrier | 2021-09-19 | 1 | -2/+2 |
| | |||||
* | cmCurl: Adopt helper to fix file:// URLs | Brad King | 2021-09-15 | 1 | -35/+2 |
| | | | | | | Migrate and generalize the helper added by commit e63dcb1378 (Encoding: Use encoding libcurl expects with file: urls., 2014-11-05, v3.2.0-rc1~420^2). | ||||
* | cmProp: refactoring: transform alias in class | Marc Chevrier | 2021-08-08 | 1 | -2/+2 |
| | | | | | | To handle safely the values used by CMake variables and properties, introduce the class cmProp as a replacement from the simple pointer to std::string instance. | ||||
* | cmELF: Include the ELF parsing code unconditionally | Alex Richardson | 2021-06-24 | 1 | -14/+6 |
| | | | | | Now that the ELF definitions are provided on all platforms there is no need to keep the CMake_USE_ELF_PARSER option. | ||||
* | install(TARGETS): Add RUNTIME_DEPENDENCIES option | Kyle Edwards | 2021-06-04 | 1 | -3/+2 |
| | |||||
* | file: Add undocumented RPATH_SET command | Kyle Edwards | 2021-06-04 | 1 | -0/+61 |
| | |||||
* | Refactor: Modify file(RPATH_*) to use cmArgumentParser | Kyle Edwards | 2021-06-04 | 1 | -77/+61 |
| | |||||
* | file(GET_RUNTIME_DEPENDENCIES): Add undocumented RPATH_PREFIX option | Kyle Edwards | 2021-06-04 | 1 | -0/+7 |
| | |||||
* | file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES arguments | Kyle Edwards | 2021-06-01 | 1 | -10/+24 |
| | |||||
* | cmFileCommand: Remove unused local variable | Brad King | 2021-04-28 | 1 | -3/+0 |
| | |||||
* | file(REAL_PATH): add option EXPAND_TILDE | Marc Chevrier | 2021-04-21 | 1 | -3/+20 |
| | | | | | This option enables the replacement of any leading tilde with the path to the user's home directory. | ||||
* | cmSystemTools: Return KWSys Status from CreateLink and CreateSymlink | Brad King | 2021-04-15 | 1 | -2/+4 |
| | |||||
* | Update CMake code using KWSys to account for Status return values | Brad King | 2021-04-14 | 1 | -3/+6 |
| | | | | | | KWSys as of 2021-04-14 changed the return type of `SystemTools` operations from `bool` to `Status`. Update our call sites. This may improve error reporting accuracy in a few places. | ||||
* | Merge topic 'commands-file-permissions' | Brad King | 2021-03-29 | 1 | -7/+7 |
|\ | | | | | | | | | | | | | | | | | | | 769ff05483 Help: Clarify permission-related command options 900184616a Cleanup: Fix misspelt name of local C++ variable 635431a0c9 Tests: Check host platform instead of target for running stat 4ceb0ca59e Tests: Remove redundant files for configure_file() tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5945 | ||||
| * | Cleanup: Fix misspelt name of local C++ variable | Craig Scott | 2021-03-26 | 1 | -7/+7 |
| | | |||||
* | | file: add `COPY_FILE` subcommand | Ben Boeckel | 2021-03-10 | 1 | -0/+92 |
| | | | | | | | | | | | | The `file(COPY)` subcommand is overloaded and busy for such a simple operation. Instead, make a simpler subcommand with error handling support. | ||||
* | | file(RENAME): Add option to not replace existing path | Brad King | 2021-03-04 | 1 | -3/+14 |
| | | | | | | | | | | Add a `NO_REPLACE` option that prevents overwriting `<newname>` if it exists. | ||||
* | | cmSystemTools: Add RenameFile option to not replace destination | Brad King | 2021-03-04 | 1 | -1/+3 |
| | | |||||
* | | file(RENAME): Add option to capture error message on failure | Brad King | 2021-03-04 | 1 | -7/+34 |
|/ | |||||
* | Rename CMAKE_USE_ELF_PARSER to CMake_USE_ELF_PARSER | Brad King | 2021-02-03 | 1 | -2/+2 |
| | | | | We use the `CMake_` prefix for options affecting CMake itself. | ||||
* | file(CONFIGURE): Use text mode for default OUTPUT content | Cristian Adam | 2021-02-02 | 1 | -1/+3 |
| | | | | | | This affects only Windows where \n will be translated as \r\n Fixes: #21769 | ||||
* | Merge topic 'issue-19198' | Brad King | 2021-02-02 | 1 | -4/+20 |
|\ | | | | | | | | | | | | | | | 255df8622b file(GENERATE): Support new line style Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !5649 | ||||
| * | file(GENERATE): Support new line style | Asit Dhal | 2021-02-01 | 1 | -4/+20 |
| | | | | | | | | Fixes: #19198 | ||||
* | | file(CONFIGURE): Fix newlines in CONTENT | Cristian Adam | 2021-01-29 | 1 | -6/+8 |
|/ | | | | Fixes: #21749 | ||||
* | clang-tidy: fix `bugprone-signed-char-misuse` warnings | Ben Boeckel | 2021-01-27 | 1 | -2/+1 |
| | |||||
* | clang-tidy: fix `bugprone-reserved-identifier` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | file(GENERATE): Support options to manipulate file permissions | Asit Dhal | 2020-12-21 | 1 | -9/+73 |
| | | | | Fixes: #15653 | ||||
* | file(configure): Order of named options should be specified in any order | Asit Dhal | 2020-12-13 | 1 | -30/+55 |
| | | | | Fixes: #20915 | ||||
* | Merge topic 'file-configure-angle-brackets' | Brad King | 2020-10-16 | 1 | -9/+1 |
|\ | | | | | | | | | | | | | 06a9a3bdc3 file(CONFIGURE): Allow angle brackets in content Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5379 | ||||
| * | file(CONFIGURE): Allow angle brackets in content | Cristian Adam | 2020-10-15 | 1 | -9/+1 |
| | | | | | | | | Fixes: #21306 | ||||
* | | file(GENERATE): Refactor options handling | Asit Dhal | 2020-10-12 | 1 | -29/+73 |
|/ | |||||
* | file(ARCHIVE_CREATE): Add option to control compression level | Asit Dhal | 2020-09-21 | 1 | -11/+41 |
| | | | | Fixes: #21125 | ||||
* | file(): Add REAL_PATH sub-command | Marc Chevrier | 2020-09-08 | 1 | -0/+46 |
| | |||||
* | cmMakefile::GetDefinition: return cmProp | Vitaly Stakhovsky | 2020-09-02 | 1 | -6/+7 |
| | |||||
* | file: Add CHMOD and CHMOD_RECURSE subcommands | Sibi Siddharthan | 2020-08-26 | 1 | -0/+160 |
| | | | | | | Fixes: #21057 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com> | ||||
* | file(GENERATE): Add TARGET argument | Raul Tambre | 2020-08-20 | 1 | -10/+25 |
| | | | | | | | Adds TARGET argument to file(GENERATE) to make resolving generator expressions requiring a target possible. Implements #21101, fixes #21074. | ||||
* | Correct a typo in cmFileCommand.cxx | Felix Yan | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | file(DOWNLOAD): Make file argument optional | Kyle Edwards | 2020-07-27 | 1 | -22/+41 |
| | |||||
* | Merge topic 'file-ARCHIVE-files-dirs' | Brad King | 2020-07-01 | 1 | -35/+22 |
|\ | | | | | | | | | | | | | bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4955 | ||||
| * | file(ARCHIVE*): Collapse FILES and DIRECTORY options | Craig Scott | 2020-06-30 | 1 | -35/+22 |
| | | | | | | | | | | | | | | | | The two options were concatenated internally for both ARCHIVE_CREATE and ARCHIVE_EXTRACT. The distinction between files and dirs was not meaningful. Therefore, replace them with PATHS or PATTERNS to more accurately describe the way the options are used. Fixes: #20884 |