| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
The IBM XL C compiler does not define `__STDC__` when invoked as plain
`cc` instead of `xlc`, so `CMAKE_C_STANDARD_COMPUTED_DEFAULT` does not
get set and CMake fails. Teach CMake about the XL compiler's default C
standard in this case.
Fixes: #17649
|
| |
|
|\
| |
| |
| | |
Merge-request: !1831
|
| |
| |
| |
| |
| |
| |
| | |
The nvcc compiler does not support `@<rspfile>` arguments. It does
offer a `--options-file` argument that can be investigated later.
Fixes: #17797
|
|\ \
| | |
| | |
| | | |
Merge-request: !1830
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* upstream-KWSys:
KWSys 2018-03-07 (2ad561e7)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 2ad561e78b0d99f083f1213e403d5a8a90e0e134 (master).
Upstream Shortlog
-----------------
Brad King (4):
6e190d9a Fix include directory usage requirement for build tree
6d4e9fde SystemInformation: Android has no getifaddrs prior to API 24
0a0974d0 SystemTools: Restore unconditional caching in GetActualCaseForPath
a241fd13 SystemTools: Remove caching from public GetActualCaseForPath
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Merge-request: !1825
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Calling `std::string::front()` on an empty string results
in an undefined behavior by the C++ standard.
In gcc8 it causes an assertion to fail.
This adds a check to `AUTOGEN` if a file to read is empty
and in case avoids the use of an empty `std::string` buffer.
Closes #17793
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
Merge-request: !1820
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
IBM XL C/C++ for Linux versions 13.1.6 and above no longer define
`__IBMC__` or `__IBMCPP__` by default (see `-qxlcompatmacros`).
Instead `__ibmxl__` now identifies the compiler along with some
related new version macros.
Fixes: #17784
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1802
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactoring in commit v3.11.0-rc1~293^2~4 (Modules: Remove paths set as
global Unix prefixes, 2017-11-20) removed `PATH_SUFFIXES` options that
appeared to be used to cover subdirectories of the `PATHS` options that
were also removed. However, the path suffixes also apply to other
search paths and so should not be removed. Restore them.
Fixes: #17760
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1800
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The test was expecting timestamps on day 1 in 1970 to start at 86400 but
they actually started at 0. This worked without `SOURCE_DATE_EPOCH=1`
because after 1972, leap days compensated the offset.
Fixes: #17762
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1790
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In case CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY has been enabled
generate only the root-level ZERO_CHECK target so targets in
subdirectories pick up the root generator target of ZERO_CHECK.
For the case that CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY is not
enabled more investigation and a proper and final fix is still needed.
Issue: 14297
|
|\ \ \ \
| |/ / /
|/| | |
| | | | |
Merge-request: !1789
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some environments require linking to thread libraries for `std::thread`.
Express this direct dependency of CMakeLib explicitly. Previously this
was done indirectly through our bundled libuv, but that does not work
when using a system libuv.
Fixes: #17757
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1785
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`Modules/CMakeCCompilerId.c.in` will report the C dialect as 11 whenever
`__STDC_VERSION__` indicates *at least* C 11. Make the test consistent
with this. We already do this for the C++ case.
Fixes: #17740
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1782
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1774
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In commit v3.11.0-rc1~466^2 (Compiler/TI: Add support for depfile
generation for Ninja, 2017-10-16) the flag for C++ was added in a
variable with a typo in its name. Fix the spelling.
Issue: #17360
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1770
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1766
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `LINK_ONLY` generator expression is used to represent private
dependencies of static libraries in their `INTERFACE_LINK_LIBRARIES`
property value. Fix evaluation of generator expressions during export
to support the `LINK_ONLY` genex. Extend the RunCMake.AndroidMK test
with a case for this.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
When exporting `INTERFACE_LINK_LIBRARIES`, we must evaluate generator
expressions first, before expanding the `;` list, in case they contain
or generate semicolons.
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1753
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Check if the content of the AUTOMOC/UIC/RCC info file
will change before overwriting it. This avoids unnecessary
AUTORCC rebuilds when AUTORCC unrelated CMake settings change.
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1754
|
| |/ /
| | |
| | |
| | |
| | | |
For ImageMagick 7.0.x we need to consider `CORE_RL_MagickWand_` and
`CORE_RL_MagickCore_`.
|
|\ \ \
| | | |
| | | |
| | | | |
Merge-request: !1757
|
| |/ /
| | |
| | |
| | | |
Fixes: #17711
|
| | | |
|
|/ /
| |
| |
| |
| | |
Release versions do not have the development topic section of
the CMake Release Notes index page.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
acbbccf7 Help: Organize and revise 3.11 release notes
22ac06ed Help: Consolidate 3.11 release notes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1751
|
| | |
| | |
| | |
| | |
| | | |
Add section headers similar to the 3.10 release notes and move each
individual bullet into an appropriate section. Revise a few bullets.
|
|/ /
| |
| |
| |
| | |
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.11.rst`.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
04167e39 bootstrap: Add Clang to known compiler candidates
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1749
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add `clang` and `clang++` after the corresponding `gcc` and `g++`
candidates. Otherwise it is not tried on platforms where we do not
enumerate the toolchain pair candidates.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
b95eda9b Help: Fix code example in cmake_parse_arguments.rst
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1747
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a8ee7406 Autogen: Improved multi-config include scheme
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1735
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For multi configuration generators AUTOMOC generates the
moc files that are included in `mocs_compilation.cpp`
in `AUTOGEN_BUILD_DIR/include_$<CONFIG>/`. By doing so each
configuration reads different moc files when compiling
`mocs_compilation.cpp`. Since we do not (need to) rewrite
`mocs_compilation.cpp` on a configuration change anymore,
the files also does not need to be recompiled anymore.
Not having to rewrite and recompile `mocs_compilation.cpp`
on a configuration change anymore was the main objective of
this patch.
In a similar fashion AUTORCC generates a `qrc_BASE_CMAKE.cpp`
file below `AUTOGEN_BUILD_DIR/include_$<CONFIG>/` and
`qrc_BASE.cpp` becomes a mere wrapper that includes this
actuall rcc output file (when using multi configuration
generators).
The template files `Modules/AutoRccInfo.cmake.in` and
`Modules/AutogenInfo.cmake.in` were removed in favor
of writing the info `.cmake` files manually.
Closes #17230
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
c4ffbb79 Autogen: Documentation: Update for AUTORCC changes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1744
|