summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | | XL: Fix C default level detection when invoked as 'cc'Brad King2018-03-141-1/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 topic 'findjni-mips-r6-new-arch'Brad King2018-03-151-1/+4
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 8c92596e96 FindJNI: add some new architecture names for mips release 6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1853
| * | | | FindJNI: add some new architecture names for mips release 6YunQiang Su2018-03-141-1/+4
| |/ / /
* | | | Merge topic 'ep-support-passing-var-ending-with-notfound'Brad King2018-03-121-4/+14
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 7ad981c8f7 ExternalProject: Fix cache generation when last args ends with "-NOTFOUND" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1838
| * | | ExternalProject: Fix cache generation when last args ends with "-NOTFOUND"Jean-Christophe Fillion-Robin2018-03-121-4/+14
| |/ /
| * | Merge branch 'cuda-no-device-link-rsp' into release-3.11Brad King2018-03-071-0/+6
| |\ \ | | | | | | | | | | | | Merge-request: !1831
* | \ \ Merge topic 'libxml2-target'Brad King2018-03-091-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ef3abd3f3 FindLibXml2: provide imported target LibXml2::LibXml2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1823
| * | | | FindLibXml2: provide imported target LibXml2::LibXml2Rolf Eike Beer2018-03-081-0/+12
| | | | |
* | | | | Merge topic 'GenerateExportHeader-C'Brad King2018-03-091-10/+37
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | de348a9638 GenerateExportHeader: Add support for C projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1799
| * | | | GenerateExportHeader: Add support for C projectsArnaud Gelas2018-03-081-10/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously only C++ projects were supported. Fixes: #16967
* | | | | Merge topic 'FindGDAL-absolute-path'Brad King2018-03-081-4/+42
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 694fce19b6 FindGDAL: Handle gdal-config printing absolute path to library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1808
| * | | | | FindGDAL: Handle gdal-config printing absolute path to libraryAdam Thompson2018-03-071-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindGDAL uses GDAL's 'gdal-config' utility to obtain the path to GDAL's library (on systems identified by CMake's UNIX variable). Older versions formatted this information like that of dependent libraries: -L/path/to/gdal/lib -lgdal[suffix] Newer versions instead provide the full path to the library: /path/to/gdal/lib/[prefix]gdal[suffix] FindGDAL now supports both formats. Entries that don't start with '-L' or '-l' are only considered if they are absolute paths that exist on disk. Furthermore, libraries are only considered if the name contains 'gdal' (checked case-insensitively).
* | | | | | Merge topic 'misc-typos'Brad King2018-03-081-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32f6b7a43b Fix misc typos in documentation and comments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1826
| * | | | | | Fix misc typos in documentation and commentsluz.paz2018-03-071-1/+1
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'curl-target'Brad King2018-03-081-7/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ee06f3c339 FindCURL: Revise documentation markup 83c0cb3f03 FindCURL: provide imported target CURL::CURL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1822
| * | | | | | FindCURL: Revise documentation markupBrad King2018-03-071-7/+15
| | | | | | |
| * | | | | | FindCURL: provide imported target CURL::CURLRolf Eike Beer2018-03-061-0/+12
| |/ / / / /
* | | | | | Merge topic 'cuda-no-device-link-rsp'Brad King2018-03-081-0/+6
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | f64732f59b CUDA: Do not pass unsupported @rspfile arguments to NVCC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1831
| * | | | | CUDA: Do not pass unsupported @rspfile arguments to NVCCBrad King2018-03-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nvcc compiler does not support `@<rspfile>` arguments. It does offer a `--options-file` argument that can be investigated later. Fixes: #17797