| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Added check for variable name in @@ evaluation and test for
configuring @CMAKE_CURRENT_LIST_LINE@ with new CMP0053
Fixes: #18646
|
|
|
|
|
|
| |
It enables to use CMAKE_CURRENT_LIST_LINE in string(CONFIGURE)
Added tests for it for ${} and @@ notattion for old CMP0053
and ${} for new
|
|
|
|
|
|
| |
string SUBSTRING command now ignores length if it points
past end of string and uses end of string instead.
String SUBSTRING tests now cover more corner cases.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block. This is no longer the preferred style.
Run the following shell code:
for c in else endif endforeach endfunction endmacro endwhile; do
echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
|
|\
| |
| |
| |
| |
| |
| | |
add-STRING-subcommand-FIND-issue-11795
Conflicts:
Tests/CMakeTests/StringTestScript.cmake
|
| |
| |
| |
| |
| | |
New CMake variable is set when processing a -P script file,
but not when configuring a project.
|
|/ |
|
|
|
|
| |
STRING(RANDOM or if given the new RANDOM_SEED argument. Add test and documentation of new argument.
|
|
|
|
| |
Re-factor the scripts to make it easier to add new cases to this test. Re-factoring also enables the test driver in ExecuteScriptTests to be re-used when adding new tests in the future.
|
|
covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.
|