summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FPHSA-include'Brad King2018-04-033-3/+3
|\ | | | | | | | | | | | | d6883801cd Find*: always include FPHSA shipped with CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1910
| * Find*: always include FPHSA shipped with CMakeRolf Eike Beer2018-04-023-3/+3
| |
* | Merge topic 'FindDCMTK-includes'Brad King2018-04-031-8/+2
|\ \ | | | | | | | | | | | | | | | | | | 5c948aa50d FindDCMTK: use CheckIncludeFiles instead of open coding it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1911
| * | FindDCMTK: use CheckIncludeFiles instead of open coding itRolf Eike Beer2018-04-021-8/+2
| | | | | | | | | | | | While at it remove a needless status message.
* | | Merge topic 'android-clang-std-flags'Brad King2018-04-031-2/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 12e6796b62 Android: Do not pass non-existent Clang -std flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1913
| * | | Android: Do not pass non-existent Clang -std flagsBrad King2018-04-021-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android NDK r16b comes with Android clang version 5.0.300080 (based on LLVM 5.0.300080) Although it claims version 5, it does not support the `-std=c++17` or `-std=c++2a` flags that upstream Clang does. Android NDK r17-beta1 comes with Android (4639204 based on r316199) clang version 6.0.1 that does have the flags.
* | | | Fortran: Add support for .fpp extensionsBrad King2018-04-021-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | Compilers such as `gfortran` recognize `.fpp` extensions to mean a Fortran source on which the preprocessor should run. Fixes: #17869
* | | Merge topic 'remove-vs8-generator'Brad King2018-04-024-6/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb80af9093 Drop Visual Studio 8 2005 generator e7af91d026 Tests: Remove unused file from Tutorial Step7 test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1901
| * | | Drop Visual Studio 8 2005 generatorBrad King2018-04-024-6/+3
| | |/ | |/| | | | | | | This generator has been deprecated since CMake 3.9. Remove it.
* | | Merge topic 'FindCUDA-nvcc-executable-env'Brad King2018-04-021-10/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 23119366e9 FindCUDA: Make nvcc configurable via CUDA_NVCC_EXECUTABLE env var Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1899
| * | FindCUDA: Make nvcc configurable via CUDA_NVCC_EXECUTABLE env varEdward Z. Yang2018-03-291-10/+14
| |/ | | | | | | | | | | | | | | | | | | This is useful if, for example, you want ccache to be used for nvcc. With the current behavior, cmake always picks up /usr/local/cuda/bin/nvcc, even if there is a ccache nvcc stub in the PATH. Allowing for CUDA_NVCC_EXECUTABLE lets us work around the problem. Signed-off-by: Edward Z. Yang <ezyang@fb.com>
* | Merge topic 'features-c++20'Brad King2018-04-028-4/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8570dc7f64 Help: Update compiler versions in cmake-compile-features.7.rst 874d3d2948 Help: Add release note for C++ 20 support 7f295b1bd3 Features: Activate C++ 20 support for Clang 5.0+ 71cb8ce3a1 Features: Activate C++ 20 support for GNU 8.0+ 8f146c4508 Features: Activate C++ 20 support for MSVC 19.12.25835+ 7fe580a362 Features: Add infrastructure for C++ 20 language standard 1b328e09a3 Features: Use -std=c++17 for C++ 17 on Clang 5.0+ 0bc3e5788a Features: Use -std=c++17 for C++ 17 on GNU 8.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1892
| * | Features: Activate C++ 20 support for Clang 5.0+Brad King2018-03-271-0/+5
| | |
| * | Features: Activate C++ 20 support for GNU 8.0+Brad King2018-03-271-0/+5
| | |
| * | Features: Activate C++ 20 support for MSVC 19.12.25835+Brad King2018-03-271-0/+4
| | |
| * | Features: Add infrastructure for C++ 20 language standardBrad King2018-03-277-2/+27
| | | | | | | | | | | | Issue: #17849
| * | Features: Use -std=c++17 for C++ 17 on Clang 5.0+Brad King2018-03-261-1/+4
| | | | | | | | | | | | Clang 5.0 added support for the `-std=c++17` flag.
| * | Features: Use -std=c++17 for C++ 17 on GNU 8.0+Brad King2018-03-261-1/+4
| |/ | | | | | | GNU 8 now documents official support for the `-std=c++17` flag.
* | Features: Record C features for MSVCBrad King2018-03-292-0/+33
|/ | | | | | | | | The MSVC C compiler has no notion of C language standards or flags. Tell CMake to assume that all language standards are available. Record available C language features depending on the version of the compiler. Fixes: #17858
* Merge topic 'UseSWIG-fix-library-prefix'Brad King2018-03-261-9/+17
|\ | | | | | | | | | | | | | | 51b642679b UseSWIG: fix prefix library for Java on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mathieu Malaterre <mathieu.malaterre@gmail.com> Merge-request: !1871
| * UseSWIG: fix prefix library for Java on WindowsMarc Chevrier2018-03-221-9/+17
| | | | | | | | Fixes: #17836
* | Merge topic 'pr.checksymbol'Brad King2018-03-261-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 20c204244b CheckSymbolExists: Fix CMP0054 warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1884
| * | CheckSymbolExists: Fix CMP0054 warningRuslan Baratov2018-03-221-0/+5
| | |
* | | Merge topic 'boost-1.67'Brad King2018-03-221-41/+129
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 1673923c30 FindBoost: Add support for Boost 1.67 with Python version suffixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1865
| * | FindBoost: Add support for Boost 1.67 with Python version suffixesRoger Leigh2018-03-211-41/+129
| | | | | | | | | | | | Fixes: #16612, #16335, #16391, #12955
* | | Merge topic 'FindPython-new-implementation'Brad King2018-03-217-4/+1327
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50b5e9ed13 CMake build: Use new FindPython module 352baee207 FindPython*: New implementation for Python stuff Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !1819
| * | | CMake build: Use new FindPython moduleMarc Chevrier2018-03-201-4/+4
| | | |
| * | | FindPython*: New implementation for Python stuffMarc Chevrier2018-03-206-0/+1323
| | | | | | | | | | | | | | | | Fixes: #16142
* | | | Merge topic 'wcdh-gcc-null'Brad King2018-03-211-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc863592bc WCDH: use better fallback value for nullptr with old gcc versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1877
| * | | | WCDH: use better fallback value for nullptr with old gcc versionsRolf Eike Beer2018-03-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC supports the __null builtin basically forever (since at least 2.95), which behaves very much like nullptr later does. Use this instead of plain "0" as fallback value, otherwise passing the define to functions annotated with __attribute__((sentinel)) will result in a compiler warning.
* | | | | Merge topic 'cuda_arch'Brad King2018-03-211-5/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e743fc8e91 FindCUDA/select_compute_arch: Add support for CUDA as a language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1856
| * | | | | FindCUDA/select_compute_arch: Add support for CUDA as a languageHenry Fredrick Schreiner2018-03-201-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though this is an internal module, we can still prepare it to be used in another public-facing module outside of `FindCUDA`. Issue: #16586
* | | | | | Merge topic 'sunpro-5.15'Brad King2018-03-211-1/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4267960fc9 Features: Record for SunPro 5.15 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1875
| * | | | | Features: Record for SunPro 5.15Brad King2018-03-201-1/+5
| | |_|/ / | |/| | | | | | | | | | | | | Oracle Developer Studio 12.6 adds support for more C++ 11 features.
| * | | | Merge branch 'revert-findqt4-dirs-fix' into release-3.11Brad King2018-03-191-12/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1867
| * \ \ \ \ Merge branch 'intel-initializer-list' into release-3.11Brad King2018-03-161-5/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1855
| * \ \ \ \ \ Merge branch 'gtest_discover_tests_timeout' into release-3.11Brad King2018-03-161-5/+16
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1851
| * \ \ \ \ \ \ Merge branch 'xl-cc-default-std' into release-3.11Brad King2018-03-141-1/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1854
| * \ \ \ \ \ \ \ Merge branch 'findjni-mips-r6-new-arch' into release-3.11Brad King2018-03-141-1/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1853
* | \ \ \ \ \ \ \ \ Merge topic 'FindwxWidgets-msvc-v141'Brad King2018-03-201-6/+6
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73738f620f FindwxWidgets: Add support for MSVC versions of the v141 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1861
| * | | | | | | | | FindwxWidgets: Add support for MSVC versions of the v141 toolsetAdam Oleksy2018-03-191-6/+6
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.8.0-rc3~7^2 (FindwxWidgets: Add support for VS 2017 v141 toolset, 2017-03-22) more MSVC updates have been released that use a MSVC_VERSION value higher than 1910. Revise our checks accordingly. Issue: #16735
* | | | | | | | | Merge topic 'revert-findqt4-dirs-fix'Brad King2018-03-191-12/+1
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf06962d73 FindQt4: Revert "Set PLUGINS and IMPORTS dir even if empty" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1867
| * | | | | | | | FindQt4: Revert "Set PLUGINS and IMPORTS dir even if empty"Brad King2018-03-191-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.11.0-rc1~306^2 (FindQt4: Set PLUGINS and IMPORTS dir even if empty, 2017-11-19) regressed existing builds on some machines. Revert it for CMake 3.11 pending further investigation. Fixes: #17814, #17817 Issue: #14155, #17492
* | | | | | | | | Merge topic 'intel-initializer-list'Brad King2018-03-191-5/+1
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | / | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | fc96d99c3e Features: Record initializer list support for Intel 14 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1855
| * | | | | | | Features: Record initializer list support for Intel 14 and aboveBrad King2018-03-161-5/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features recorded by commit v3.6.0-rc1~120^2~5 (Features: Record standards and features for Intel C++ on UNIX, 2016-04-28) for the Intel compiler left out initializer list support because our test case in `Tests/CompileFeatures/cxx_generalized_initializers.cpp` caused an internal compiler error. It turns out this is because the Intel compiler asserts the `initializer_list` constructor signatures to verify that they match its own `<initializer_list>` header. It was our dummy implementation used to test the language feature without any headers that caused the ICE. Revise it to use a constructor signature accepted by the Intel compiler. Fixes: #17829
* | | | | | | Merge topic 'project-homepage-url'Craig Scott2018-03-173-3/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73f9b2974c project: Add HOMEPAGE_URL named parameter fd28c382b4 project: Add <PROJECT-NAME>_DESCRIPTION 9b57cb62ea Help: Fix minor typo in docs for CMAKE_PROJECT_DESCRIPTION c89993d529 Tests: Avoid enabling languages unnecessarily in RunCMake.project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1816
| * | | | | | | project: Add HOMEPAGE_URL named parameterAlex Turbov2018-03-163-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sets variables like PROJECT_HOMEPAGE_URL, which can be used as default values for various things (packaging modules, doxygen defaults, etc.). Some packaging modules have been updated to do this as part of this commit. Co-Author: Craig Scott <craig.scott@crascit.com>
* | | | | | | | Merge topic 'gtest_discover_tests_timeout'Brad King2018-03-161-5/+16
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | / | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 96fdde26bb GoogleTest: Rename TIMEOUT parameter to avoid clash Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1851
| * | | | | | GoogleTest: Rename TIMEOUT parameter to avoid clashCraig Scott2018-03-151-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In gtest_discover_tests(), the TIMEOUT keyword was making it impossible to set the TIMEOUT test property via the PROPERTIES keyword. This would be a frequent case, but it doesn't complain and instead silently does something different to what would normally be expected. The TIMEOUT keyword has been renamed to DISCOVERY_TIMEOUT, thereby removing the clash. This is a breaking change. 3.10.1 and 3.10.2 were the only versions that supported the TIMEOUT keyword and uses of it were likely not working as intended. Fixes: #17801
* | | | | | | Merge topic 'xl-cc-default-std'Brad King2018-03-151-1/+2
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 194b74daec XL: Fix C default level detection when invoked as 'cc' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1854