| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
We already do this for C, CXX, Fortran, etc.
|
|\
| |
| |
| | |
Merge-request: !2206
|
| |
| |
| |
| | |
Fixes: #18166
|
|\ \
| | |
| | |
| | | |
Merge-request: !2204
|
| | |
| | |
| | |
| | |
| | |
| | | |
boost/context/all.hpp is removed in Boost 1.68.
boost/context/detail/fcontext.hpp is present in all Boost
releases containing context (≥1.61).
|
| |/
| |
| |
| |
| |
| | |
This includes a new component, `Boost::contract`.
Fixes: #18167
|
|/
|
|
|
|
| |
In commit v3.12.0-rc1~20^2 (Move GNU COMPILER_PREDEFINES_COMMAND from
Platform to Compiler, 2018-06-01), `Compiler/GNU.cmake` introduced the
`-dM` flag, which requires `-Wp` prefix for the QNX compiler wrapper.
|
|\
| |
| |
| | |
Merge-request: !2189
|
| |
| |
| |
| |
| |
| |
| |
| | |
Code added by commit v3.12.0-rc1~53^2 (FindLua: Search for lua.h using
more conventional paths, 2018-05-20) depends on `CMP0012` NEW behavior.
Set the policy explicitly for the scope of the FindLua module.
Fixes: #18142
|
|/
|
|
| |
Fixes: #18140
|
|\
| |
| |
| | |
Merge-request: !2176
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The test code added by commit v3.12.0-rc1~411^2~1 (FindOpenMP: Verify in
test source that OMP library is linked, 2018-03-01) leaves an unused
variable warning. This breaks the check with `-Werror`. Remove the
variable and leave just the function call, which should still check that
the OMP library is linked.
Fixes: #18102
|
|\ \
| | |
| | |
| | | |
Merge-request: !2159
|
| | |
| | |
| | |
| | | |
These have been deprecated since 2002!
|
| |/
| |
| |
| |
| |
| | |
The change in commit v3.12.0-rc1~202^2~1 (FindJPEG: Add multi config
support and associated docs, 2018-04-17) accidentally left out the
default jpeg library names from consideration for debug variants.
|
|\ \
| | |
| | |
| | | |
Merge-request: !2153
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Xcode 10 no longer populates `CURRENT_ARCH` with the current
architecture in shell scripts and instead uses `undefined_arch`.
Instead we must use `ARCHS`. It lists all architectures separated by
spaces.
Fixes: #18085
|
|/
|
|
|
|
|
|
|
|
|
| |
Upstream CURL provides imported target `CURL::libcurl`. Rename the
target added by `FindCURL` to match. We don't need compatibility with
the old name because it has never been in a CMake release (except a 3.12
release candidate).
Suggested-by: Jakub Zakrzewski <slither.jz@gmail.com>
Acked-by: Rolf Eike Beer <eike@sf-mail.de>
Fixes: #18091
|
|\
| |
| |
| | |
Merge-request: !2137
|
| |
| |
| |
| |
| | |
Issue: #18065
Fixes: #18066
|
|\ \
| | |
| | |
| | | |
Merge-request: !2143
|
| |/ |
|
|\ \
| | |
| | |
| | | |
Merge-request: !2145
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix a typo from commit 0bef9eb410 (UseSWIG: modernize module,
2018-01-29) that caused `UseSWIG` to ignore an eventually set property
`SWIG_MODLUE_NAME`.
Building multiple python modules using the mentioned property as
described in the docs could lead to an invalid, or even worse,
inconsistent `build.ninja` file. The reason is that the generated list
of support files was not unique. For each module the support file was
always named the same, namely `path/to/builddir/MODULENAME.py`.
|
|\ \
| | |
| | |
| | | |
Merge-request: !2140
|
| |/
| |
| |
| | |
Python 3.7 is about to be released, making the development version 3.8.
|
|/
|
|
|
|
|
|
|
| |
Macro 'check_required_components' should be called even if there are no
components provided by package. This will make sure error is reported
in next cases:
find_package(Foo CONFIG REQUIRED oops) # 'oops' treated as component
find_package(Foo CONFIG REQUIRED COMPONENTS foo) # no components expected
|
|\
| |
| |
| |
| |
| |
| | |
f719a13c28 Features: Add special case to disable relaxed constexpr for Intel 18
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2133
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Intel compilers define `__cpp_constexpr` to `200704` even in C++14 mode.
This indicates that the `cxx_relaxed_constexpr` feature is not
available. However, Intel 17 and above document support for it. In
commit v3.8.0~9^2 (Features: Update features for Intel C++ 17.0.2 on
UNIX, 2017-03-31) we added a special check for this case. Intel 17 and
19 work. However, Intel 18 does not seem to work and fails our test
case. Add a special case to disable the feature for Intel 18.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
be28106880 Fix misc. typos
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !2130
|
| | |
| | |
| | |
| | | |
Found via `codespell` and `grep`
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7ad5165c67 ExternalProject: Fix cache generation when args end with "-NOTFOUND"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2127
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Generalize the fix in commit v3.11.0-rc4~8^2 (ExternalProject: Fix cache
generation when last args ends with "-NOTFOUND", 2018-03-10) to work for
any argument rather than just the last one.
ExternalProject can now successfully generate the cache file when any
(not only the last one) cache variable associated with either
`CMAKE_CACHE_ARGS` or `CMAKE_DEFAULT_CACHE_ARGS` configure step option
is set to a `<value>` ending with `-NOTFOUND`.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
afcb68a0c1 Help: Fix indentation for `CPACK_NUGET_PACKAGE_AUTHORS`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2135
|
| | | | | |
|
|\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
470ff56e5a ExternalProject: Improve URL_HASH argument description
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2134
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The previous documentation suggested
ALGO=MD5=d7a3dc7757a35df3dbb890f7dee0976b
for example.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
9e27881bb1 TI: Add support for C language standards
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2131
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Set C90 and C99 compile options for TI compiler.
Fixes: #18061
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
caa138c1a5 Move GNU COMPILER_PREDEFINES_COMMAND from Platform to Compiler
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2121
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Moves `CMAKE_${lang}_COMPILER_PREDEFINES_COMMAND` from linux specific
[Modules/Platform/Linux-GNU.cmake](Modules/Platform/Linux-GNU.cmake) to
[Modules/Compiler/GNU.cmake](Modules/Compiler/GNU.cmake).
This enables compiler predefines generation (in AUTOMOC) on all
platforms that run gcc (and clang).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`. Use `clang-format` version 6.0.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
|
| | | |
| | | |
| | | |
| | | | |
Preserve manually-formatted blocks.
|
| | | | |
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5f13168419 VS: Add option to select the version of the toolset used by VS 2017
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Francisco Facioni <fran6co@gmail.com>
Merge-request: !2093
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add new `version=` parameter in the toolset setting to select the
version. Add variable `CMAKE_VS_PLATFORM_TOOLSET_VERSION` to hold the
version, if one is set (blank indicates default).
Fixes: #17549
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
edf0ea9bb2 CUDA: Drop unused/broken platform link flags placeholder
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2108
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `<CMAKE_CUDA_LINK_FLAGS>` placeholder in CUDA rule variables comes
from the `<CMAKE_CXX_LINK_FLAGS>` placeholder from which the CUDA rule
variables were originally derived. It is not a public interface for
adding link flags so no projects should be using it. It is needed for
platform information modules to specify platform-specific link flags for
the language. None of our platform modules set it, so it is unused.
Furthermore, it is broken as currently implemented. Some of the
contexts in which it is used need `-Xlinker` and some do not.
Therefore it is not possible to use the placeholder at all.
Simply remove it for now. If some need for platform-specific CUDA link
flags arises a new solution will be needed.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
7b2f440e2b FindDoxygen: Add tests for ALL option
79b29b732c FindDoxygen: add optional ALL argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2099
|