| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
a3c98cb3 ExternalProject: Fix regression in passing list to CMAKE_CACHE_ARGS
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix passing a list to the CMAKE_CACHE_ARGS and CMAKE_CACHE_DEFAULT_ARGS
options of ExternalProject_Add.
Following commit v3.7.0-rc1~273^2~1 (prefer list(APPEND) over
string(APPEND) where appropriate, 2016-08-08), the semicolon list
separator after the first list element was missing in the generated
cache.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
c637e0c5 cmMakefile: Return a string from GetDefineFlags
fbc1b75c Test: Remove condition for CMake version no longer supported
3d0e95f6 cmLocalGenerator: Extract definition retrieval out of loop
2a49d86d Makefiles: Inline only use of method
b0301db2 Makefiles: Make helper class independent of cmLocalGenerator
267e0209 cmMakefile: Remove pointless condition
009019f2 Makefiles: Extract identical code from condition
378849f4 Makefiles: Replace array access with local variable
4a3c49b4 Makefiles: Separate two coupled calls
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
7f90d5e5 Tests: Improve RunCMake.CPack_* failure message formatting
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Format a `message(FATAL_ERROR)` call with markup to make the generated
message more readable so that the difference between the actual and
expected results is easier to see.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
dda6775c Android: Record use of C++ by static libs in exported Android.mk files
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
When a `PREBUILT_STATIC_LIBRARY` uses C++ in its sources then the `.a`
file will have a link-time dependency on the C++ runtime libraries.
Android NDK r14 will add a way to give this information to the NDK build
system by adding a `LOCAL_HAS_CPP` setting to the `Android.mk` file.
Add this for exported static libraries that use C++.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
8cdac469 Android: Fix support for cxxabi.h with libc++
|
| | |
| | |
| | |
| | |
| | |
| | | |
Additional include directories are needed for this on some STL types.
Closes: #16350
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Generate a single debuginfo package even
if components packaging is enabled.
This makes issue #15668 resolution feature complete.
Closes: #15486
|
| | |
| | |
| | |
| | |
| | |
| | | |
Main component rpm package is generated
without component suffix in filename
and package name.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
0c3a0477 Android: Update libc++ include directories for NDK r13
ebef3632 Android: Suppress -Wattributes warnings in test case builds
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We use `-Werror` in the Android test builds to make sure there are
no warnings that we care about (e.g. unused flags). However, the
NDK r13 tools produce a warning about their own builtins:
```
<built-in>: In function 'float abs(float)':
<built-in>: warning: conflicts with previous declaration here [-Wattributes]
```
Suppress this warning so that we can continue using `-Werror` but
tolerate these warnings.
|
|/
|
|
|
|
| |
Users may need to add custom `RPATH` entries to be able to run binaries
from their build tree without setting `LD_LIBRARY_PATH`. Provide a way
to do this that does not affect the install-tree `RPATH`.
|
|\
| |
| |
| |
| |
| | |
bcafc399 QtAutogen: Add test for empty qrc file
98b11f25 QtAutogen: Allow .qrc files that do not contain any file reference
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
130784e0 AndroidTestUtilities: Add module to help drive Android device tests
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a module to manage the data needed for the project tests. It will
move the test data to the build directory and transfer necessary data to
an Android device if that is enabled.
|
| |/
|/|
| |
| |
| |
| |
| | |
We expect the server to exit when its communication pipes are closed.
Close them and wait for the server to exit. If supported by the current
version of python, kill the server if it does not exit after a few
seconds.
|
| |
| |
| |
| |
| |
| |
| | |
Add a `CMake_TEST_SERVER_MODE` option that can be set in testing builds
to enable/disable server mode tests explicitly. This will allow testing
in combination with `CMake_TEST_EXTERNAL_CMAKE` or for server mode to be
built on systems that have a python version that cannot run the test.
|
| |
| |
| |
| | |
The latter is a better name for making it a public-facing option.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
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.
|
|/
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
89043267 server-mode: Add command to compute the build system
0a8ad670 server-mode: Add a configure command
544f65f4 server-mode: Set global configuration of cmake via a command
82104cc7 server-mode: Query global configuration of cmake via a command
|
| | |
| | |
| | |
| | |
| | | |
"setGlobalSettings" can be used to change settings reported by
"globalSettings" command.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add "globalSettings" command that returns:
* Return capability information
* Return currently used generator/extra generator
* Return a range of flags for debug/trace/etc.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fortran INCLUDE statements are not handled by the preprocessor.
Since the location of the preprocessed file is distinct from the
original source file explicitly add the source file's directory
as an include path in the actual compile step (not the preprocessing step)
so INCLUDE can find it.
Closes: #16332
|
|\ \
| | |
| | |
| | |
| | | |
1ef45a30 Revert "CPack/DEB: Make package description variable precedence match RPM"
|
| | |
| | |
| | |
| | |
| | | |
This reverts commit 332b089ad213a1aa89658fffd8f68c9064c6d3db as multiline
descriptions require special formatting.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
b35568f3 Xcode: Add option to set Swift language version
49d50ad4 Xcode: Port rudimentary Swift support to Xcode 8
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Create a new CMAKE_Swift_LANGUAGE_VERSION variable to specify the
SWIFT_VERSION attribute in a generated Xcode project. Ideally this
would be a `<LANG>_STANDARD` property but since Swift support is
very minimal we should reserve that property for more complete
treatment later.
Issue: #16326
|
|/ /
| |
| |
| |
| | |
Co-Author: Damian Rouson <damian@sourceryinstitute.org>
Issue: #16234
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
eb8cd356 Tests: Split Fortran module testing into separate FortranModules test
a41c8724 Tests: Check if Fortran compiler supports F90
1ec5097d Tests: Use more generic variables in Fortran test
d7bd2efb Tests: Remove trailing line from Fortran/External
|
| | |
| | |
| | |
| | |
| | | |
The main Fortran test is not granular enough. Split some into another
test.
|
| | | |
|
| | | |
|