| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
5784747d Improve string find: prefer character overloads.
5cec953e Use std::replace for replacing chars in strings.
2a1a2033 cmExtraEclipseCDT4Generator: use std::replace.
34bc6e1f cmCTestScriptHandler: don't call find repeatedly.
|
| |
| |
| |
| |
| | |
Apply fix-its from clang-tidy's performance-faster-string-find checker.
Ignore findings in kwsys.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Find uses of `cmSystemTools::ReplaceString` where both `replace` and
`with` are string literals with a size of one.
Automate with:
git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\2', '\3');|g"
git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\\\\\\\\\");|std::replace(\1.begin(), \1.end(), '\2', '\\\\\\\\');|g"
git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\\\\\\\\\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\\\\\\\\', '\2');|g"
|
| | |
|
| |
| |
| |
| | |
Also, prefer the character overload.
|
|\ \
| | |
| | |
| | |
| | | |
6b190b5c FindCUDA: Add support for generator expressions in CUDA_NVCC_FLAGS
|
| | |
| | |
| | |
| | |
| | |
| | | |
Follow the configure_file by a file(GENERATE) so the resulting cmake
scripts used by FindCUDA for wrapping nvcc calls can now support
generator expressions in the CUDA_NVCC_FLAGS variable.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c1340827 Add a variable to specify language-wide system include directories
44199097 cmMakefile: Optimize AddSystemIncludeDirectories for empty set
a896043b GHS: Compute include directories consistently with other generators
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Create a `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable to specify
system include directories for for `<LANG>` compiler command lines.
This plays a role for include directories as the existing
`CMAKE_<LANG>_STANDARD_LIBRARIES` variable does for link libraries.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Do not bother looping over all targets if we have no system include
directories to add anyway.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
All generators use cmLocalGenerator::GetIncludeDirectories to construct
the final list of include directories for a target.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
7807b3a9 Help: Document CMAKE_<LANG>_STANDARD_LIBRARIES variable
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Also drop documentation of non-existent CMAKE_STANDARD_LIBRARIES
variable.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
25d1ef64 Use enums defined in cmOutputConverter using their fully qualified name.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Mostly automated:
values=("RelativeRoot" "NONE" "FULL" "HOME" "START" "HOME_OUTPUT" "START_OUTPUT"
"OutputFormat" "UNCHANGED" "MAKERULE" "SHELL" "WATCOMQUOTE" "RESPONSE"
"FortranFormat" "FortranFormatNone" "FortranFormatFixed" "FortranFormatFree")
for i in "${values[@]}"; do git grep -l cmLocalGenerator::$i | xargs sed -i "s|cmLocalGenerator::$i|cmOutputConverter::$i|g"; done
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
adbd3985 CPack/Deb possibility to change package name
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch preserves backward compatibility of
deb package names with previous CMake versions
but similarly to CPack/RPM allows to change
package name format and supports DEB-DEFAULT
setting that produces proper Debian package names.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
4f3b9706 CPack/Deb prevent accidental component dependencies
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prevent accidental inter component dependency setting
since this is a breaking feature in situations where
another CPack module is already using the feature.
It should be enabled if desired since it can cause
issues when upgrading only one of the components
for e.g. configuration instead of all the components
at once.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
2bc981e6 ExternalProject: Fix git stash not using "--all" option
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
GIT_VERSION_STRING is unset in _ep_write_gitupdate_script(), hence
git stash is not being called with the "--all" option, even if Git
is new enough to support this.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
239367f0 CPackDMG: Document CPACK_DMG_FORMAT default
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
06ca7795 CPackIFW: Command cpack_ifw_configure_component learned ESSENTIAL option
222fa595 CPackIFW: Doc decoration
|
| | | | |
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
f4d3c44c Fix support for large RPATH updates (#16105)
|
| | |
| | |
| | |
| | |
| | | |
Avoid using a KWSys RegularExpression to search for RPATH substrings.
It cannot handle large expressions.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
d3812437 Make packaging script wait for the disk image to be mounted.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Frequently the apple script would execute before the disk image had been
fully mounted, and would fail. We now try to wait for the disk to be
mounted first.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
2f2117e7 clang-format.bash: Limit formatting to files selected by options
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now that our one-shot clang-format run is complete we rarely need to
filter the entire tree anymore. Filter nothing if no options are given
and just print the usage message. Offer options to specify selection of
some set of files from Git as needed for various workflows.
|
| | | | | |
|
| |_|_|/
|/| | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
cc95001b FindCUDA: Detect and report FP16 support
|
| | |_|/
| |/| |
| | | |
| | | | |
Reviewed-by: James Bigler <jamesbigler@gmail.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
89113e12 ExternalProject: Re-implement download logic as a dedicated script
e7d5e4b4 ExternalProject: Re-implement download verification as a dedicated script
ebcc7027 ExternalProject: Avoid repeating download verification
33218f6a ExternalProject: Remove unused verify script logic
e5409d1e ExternalProject: Remove unused 'retries' argument from verify script
d610407c ExternalProject: Use uppercase placeholders for script generation
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move the content to a `ExternalProject-download.cmake.in` file and use
`configure_file` to generate the final script.
Retry logic was not working before because similar script trigger
FATAL_ERROR if 'file(DOWNLOAD ...)' exits with nonzero 'status_code'.
FATAL_ERROR makes the whole chain of commands stop and
'_ep_write_verifyfile_script' retry logic was not used in fact.
Default retry number set to 5 with pauses 0, 5, 5, 15, 60 seconds. Some
space left for future improvements if needed (90, 300, 1200=20min). Can
be controlled by user.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move the content to a `ExternalProject-verify.cmake.in` file and use
`configure_file` to generate the final script.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Verify step for downloaded files will be performed in separate script.
|
| | | | |
| | | | |
| | | | |
| | | | | |
The logic to re-run the download script will be moved elsewhere.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
There is no retries for local files and retry logic is broken for downloads.
Will be implemented in '*-download.cmake' script.
|
| |/ / /
| | | |
| | | |
| | | | |
Use uppercase variables for future 'configure_file' command.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
40bee43a cmCPackDragNDropGenerator: Replace std::{ostringstream => string}
|
| | |/ /
| |/| | |
|
| |/ /
|/| | |
|