| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
66c70cd9 cmake_parse_arguments: Add additional unit tests
41291b20 cmake_parse_arguments: Fix PARSE_ARGV multi-value argument handling
|
| |
| |
| |
| | |
Add additional unit tests for some corner cases in argument splitting.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `PARSE_ARGV` mode was recently added to help functions properly
parse their arguments even when those arguments may be quoted and
contain literal `;` in their values. Fix the implementation to encode
`;`s in reported multi-value arguments and in `UNPARSED_ARGUMENTS` so
that `;`s in the individual values are preserved in the lists. This
allows clients to access all their argument values correctly.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
71a50587 server-mode: Add project data for unit tests
7b1e60f2 server-mode: Report CMakeCache entries
84553a6e server-mode: Add command to retrieve build system files
ead71873 server-mode: Report information relevant for a codemodel
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Do some basic unit tests for "codemodel", "cmakeInputs" and "cache"
commands of the cmake server.
This just calls the commands right now and makes sure the server
thinks it can reply to the request. The data itself is currently not
validated.
|
| | |
| | |
| | |
| | |
| | | |
With this it would be possible to implement something like
cmake-gui using server-mode.
|
| | |
| | |
| | |
| | | |
Add a command to retrieve files that are input to cmake itself.
|
| |/
| |
| |
| |
| | |
Add "codemodel" command to report information relevant to feed a code
model.
|
|\ \
| | |
| | |
| | |
| | | |
32ee69c5 FindCxxTest: Do not run cxxtestgen through interpreter unless necessary
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On platforms that support shebang lines the `cxxtestgen` script should
be able to execute without an explicit interpreter. Do this if possible
so that the proper interpreter specified by the shebang line is honored.
Ideally we shouldn't even need to find `python` in this case, but that
will be a larger change better made by a dedicated module maintainer.
Closes: #16331
|
|\ \
| | |
| | |
| | |
| | | |
3f300b84 VS: Recognize VS/LLVM toolset names as Clang
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update the toolset name matching added by commit v3.6.0-rc1~279^2~10
(VS: in Clang/C2 toolset, setup correct compiler settings, 2016-02-18)
to match VS/LLVM toolset names too.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
9c5238df project: Fix support for explicit RC language
40c04821 Tests: Decide earlier whether to test resources
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The check added in commit v3.6.0-rc1~293^2 (Diagnose recursive
project/enable_language without crashing, 2016-03-07) broke support for
enabling `RC` explicitly along with other languages like `C`. The
reason is that we enable all listed languages at once so the internal
`enable_language(RC)` that we do while enabling `C` or `CXX` on some
platforms triggers the recursion check if `RC` is explicitly listed.
Ideally we should refactor things to only enable one language at a time,
but for now it is simplest to just exclude `RC` from the explicit list
until other languages are enabled, and then enable it.
Closes: #16330
|
| | |/
| |/|
| | |
| | | |
Provide a CMake_TEST_RESOURCES variable storing the decision.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
f4162856 CompileFlags: Tell PGI compiler not to issue warning diagnostics
09a6bd82 CTestCustom: Suppress PGI IPA warnings
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When hosting CMake's own build with the PGI compiler there are several
warnings that cannot easily be fixed or suppressed. We have enough code
quality tools and warnings from other compilers that it is unlikely a
PGI-only warning is useful.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
af35ddc8 Tests: Add newline to RunCMake.CPack_RPM SOURCE_PACKAGE case
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
The `main.cpp` that this test generates needs a newline so that
compilers do not warn about a missing newline. Otherwise the warning
causes RunCMake infrastructure to detect unexpected output.
|
| |/ /
|/| | |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | | |
03bd9895 CONTRIBUTING: Document contribution through the Kitware GitLab Instance
2cbfb5c7 CONTRIBUTING: Reference clang-format helper script for code style
|
| | |
| | |
| | |
| | |
| | | |
Replace the instructions that routed patches to the mailing list with
new instructions routing them to our GitLab instance.
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
93300f36 Utilities/Release: Add html docs to Windows 64-bit binary
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The 64-bit Windows binary is built in our second batch because it is
built on the same host as the 32-bit Windows binary. When the
documentation generation was first added, it was not included in the
second batch because at the time that batch only included the Cygwin
binary. Therefore the 64-bit Windows binary has been missing the
documentation since it was first created for CMake 3.6.
Since then the Cygwin binary was dropped so the second batch only
contains the 64-bit Windows binary. Add the docs to it.
Closes: #16333
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
19671831 Help: Update cmake-developer(7) module license docs for new notice
756169ac Tests: Update ModuleNotices test for new notice
845d86bc Utilities/Scripts: Remove temporary script that filtered license notices
86578ecc Simplify CMake per-source license notices
b7180cfe Utilities/Scripts: Add temporary script to filter license notices
7feb4ecc Copyright.txt: Add notice of copyright by contributors
78f77f60 Utilities/KWStyle: Remove unused header check reference file
681e0429 Tests: Fix RunCMake.CTest output match to tolerate line number changes
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Per-source copyright/license notice headers that spell out copyright holder
names and years are hard to maintain and often out-of-date or plain wrong.
Precise contributor information is already maintained automatically by the
version control tool. Ultimately it is the receiver of a file who is
responsible for determining its licensing status, and per-source notices are
merely a convenience. Therefore it is simpler and more accurate for
each source to have a generic notice of the license name and references to
more detailed information on copyright holders and full license terms.
Our `Copyright.txt` file now contains a list of Contributors whose names
appeared source-level copyright notices. It also references version control
history for more precise information. Therefore we no longer need to spell
out the list of Contributors in each source file notice.
Replace CMake per-source copyright/license notice headers with a short
description of the license and links to `Copyright.txt` and online information
available from "https://cmake.org/licensing". The online URL also handles
cases of modules being copied out of our source into other projects, so we
can drop our notices about replacing links with full license text.
Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority
of the replacements mechanically. Manually fix up shebang lines and trailing
newlines in a few files. Manually update the notices in a few files that the
script does not handle.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a script to replace our previous per-source license notices with a
much simpler notice. This will be used in a following commit and then
removed.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not require copyright assignment for contributions to CMake.
Update the top-level notice to mention "Contributors" explicitly.
Add a list of the Contributors whose names already appear in
source-level copyright notices. Find the list with the command:
$ git grep -h 'Copyright[^.]' -- *.* \
Auxiliary Modules Packaging Source Templates Tests \
| grep -v Kitware | sed 's/^#\? *//' | sort | uniq
Manually refine the list to de-duplicate entries and filter out
notices from third-party code.
|
| | |
| | |
| | |
| | | |
We do not actually run a check for this.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
956054ae GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
59eb75d9 FindJNI: Add aarch32 path on arm
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
cb8db285 CPack/NSIS: Fix silent NSIS installs
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The installer should not put up a message box to confirm uninstall of a
previous version for silent installs. Furthermore, when the uninstaller
is invoked, do not show its confirmation dialog because either (a) the
installer already asked the user or (b) the installer is running in
silent mode.
Closes: #16328
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
39c7d62c CPack/RPM debuginfo packaging documentation
dd3c938a CPack/RPM debuginfo directories to sources
b78fcf0d CPack/RPM debuginfo packages must contain sources
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
List of sources must be split into paths parts
so that debuginfo package cleans up after
itself.
|
| | |
| | |
| | |
| | |
| | | |
Issue #15668 fix was missing relevant source
files in debuginfo package.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
89c20300 CTestCustom: Suppress PGI warnings in generated Lexer/Parser code
965eb50c CTestCustom: Suppress PGI compiler warning summary line
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
We will match/ignore the actual warning lines, if any, so we can always
ignore the summary line if present.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
cda8c782 cmGlobalGenerator: Optimize FindMakefile method with an index
|