summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'intel-compile-features'Brad King2018-06-051-1/+1
|\ | | | | | | | | | | | | f719a13c28 Features: Add special case to disable relaxed constexpr for Intel 18 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2133
| * Features: Add special case to disable relaxed constexpr for Intel 18Brad King2018-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'more-misc-typos'Brad King2018-06-056-11/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | be28106880 Fix misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !2130
| * | Fix misc. typosluz.paz2018-06-046-11/+11
| | | | | | | | | | | | Found via `codespell` and `grep`
* | | Merge topic 'ep-support-passing-var-ending-with-notfound'Brad King2018-06-051-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7ad5165c67 ExternalProject: Fix cache generation when args end with "-NOTFOUND" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2127
| * | | ExternalProject: Fix cache generation when args end with "-NOTFOUND"Jean-Christophe Fillion-Robin2018-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | | Merge topic 'fix/CPackNuGet-var-para-deindent'Craig Scott2018-06-051-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afcb68a0c1 Help: Fix indentation for `CPACK_NUGET_PACKAGE_AUTHORS` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2135
| * | | | Help: Fix indentation for `CPACK_NUGET_PACKAGE_AUTHORS`Alex Turbov2018-06-051-2/+2
| | | | |
* | | | | Merge topic 'external-project-url-hash-docs'Craig Scott2018-06-051-3/+3
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 470ff56e5a ExternalProject: Improve URL_HASH argument description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2134
| * | | | ExternalProject: Improve URL_HASH argument descriptionMatt McCormick2018-06-041-3/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The previous documentation suggested ALGO=MD5=d7a3dc7757a35df3dbb890f7dee0976b for example.
* | | | Merge topic 'fix-ti-c-standard'Brad King2018-06-041-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e27881bb1 TI: Add support for C language standards Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2131
| * | | | TI: Add support for C language standardsArnaud Gelas2018-06-041-0/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Set C90 and C99 compile options for TI compiler. Fixes: #18061
* | | | Merge topic 'gnu-CMAKE_LANG_COMPILER_PREDEFINES_COMMAND'Brad King2018-06-042-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | caa138c1a5 Move GNU COMPILER_PREDEFINES_COMMAND from Platform to Compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2121
| * | | Move GNU COMPILER_PREDEFINES_COMMAND from Platform to CompilerSebastian Holtermann2018-06-012-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-018-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | clang-format: Add comments to suppress some formattingBrad King2018-06-011-1/+2
| | | | | | | | | | | | | | | | Preserve manually-formatted blocks.
* | | | FindALSA: reformat docsRolf Eike Beer2018-05-311-9/+16
| | | |
* | | | FindALSA: provide an imported targetRolf Eike Beer2018-05-311-0/+14
|/ / /
* | | Merge topic 'vs-toolset-version'Brad King2018-05-302-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | VS: Add option to select the version of the toolset used by VS 2017Basil Fierz2018-05-292-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge topic 'cuda-unused-placeholder'Brad King2018-05-292-7/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | edf0ea9bb2 CUDA: Drop unused/broken platform link flags placeholder Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2108
| * | | CUDA: Drop unused/broken platform link flags placeholderBrad King2018-05-252-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge topic 'doxygen-all'Craig Scott2018-05-291-2/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 7b2f440e2b FindDoxygen: Add tests for ALL option 79b29b732c FindDoxygen: add optional ALL argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2099
| * | | FindDoxygen: add optional ALL argumentDavid Demelier2018-05-241-2/+10
| | |/ | |/|
* | | Merge topic 'FindPerl-strawberry'Brad King2018-05-251-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b37d583d5c FindPerl: Add support for Strawberry Perl Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2102
| * | | FindPerl: Add support for Strawberry PerlLauri2018-05-241-0/+1
| |/ / | | | | | | | | | Fixes: #18027
* | | Merge topic 'FindLua-conventional-paths'Brad King2018-05-251-47/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5d19260f9 FindLua: Search for lua.h using more conventional paths 9455512d22 FindLua: Add tests for this module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2095
| * | | FindLua: Search for lua.h using more conventional pathsAlexander Grund2018-05-241-47/+87
| |/ / | | | | | | | | | | | | | | | | | | | | | Do not constrain the search to `include/*`. To provide compatibility the foreach-loop is still used. However `include/xxx` and `xxx` is now both searched. This honors now e.g. CMAKE_INCLUDE_PATH. Fixes: #17999
* | | Merge topic 'FindODBC-module'Brad King2018-05-251-0/+227
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 357db10bd1 FindODBC: Add module to search for ODBC library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2069
| * | | FindODBC: Add module to search for ODBC libraryMateusz Loskot2018-05-221-0/+227
| |/ / | | | | | | | | | Add tests for FindODBC module.
* | | FindBZip2: Populate BZIP2_INCLUDE_DIRS result variableBrad King2018-05-221-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | The plural-named non-cached result variable is needed to follow our module conventions documented in `cmake-developer(7)`. The variable is also used to populate our ``BZip2::BZip2`` imported target include directories, which was broken without this variable set. Fixes: #18013
* | | FindBZip2: Format result variable docs as definition listBrad King2018-05-221-7/+10
|/ /
* | Merge topic 'cpackrpm-fix-docs'Brad King2018-05-211-12/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | 78f0dcdcc9 CPackRPM: Fix misleading CPACK_RPM_SPEC_INSTALL_POST docs 2ae2f0ca98 CPackRPM: Minor formatting cleanup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2070
| * | CPackRPM: Fix misleading CPACK_RPM_SPEC_INSTALL_POST docsCraig Scott2018-05-121-7/+11
| | |
| * | CPackRPM: Minor formatting cleanupCraig Scott2018-05-121-5/+5
| | |
* | | Merge topic 'findqt4-extra-dirs'Brad King2018-05-161-27/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c2934b025d FindQt4: New IMPORTS, PLUGINS and MKSPECS handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2060
| * | | FindQt4: New IMPORTS, PLUGINS and MKSPECS handlingChristian Pfeiffer2018-05-141-27/+19
| | | | | | | | | | | | | | | | Fixes: #14155
* | | | Merge topic 'fix-automoc-warnings'Brad King2018-05-151-8/+17
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 9672d81ca3 Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated files 800b2fcf80 Qt4Macros: Use get_property/set_property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2066
| * | | Qt4Macros: Don't AUTOMOC or AUTOUIC qt4-generated filesMatthew Woehlke2018-05-151-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppress AUTOMOC and AUTOUIC on files generated by Qt4 wrapping macros; particularly, those generated by `qt4_wrap_cpp`, `qt4_wrap_ui`, and `qt4_add_resources`. None of these should need AUTOMOC or AUTOUIC treatment, and CMP0071 makes it important to mark this explicitly.
| * | | Qt4Macros: Use get_property/set_propertyMatthew Woehlke2018-05-151-8/+8
| | | | | | | | | | | | | | | | | | | | Replace use of old-style {get,set}_source_file_properties with newer {get,set}_property.
| * | | Merge branch 'irsl-fortran-only-linux' into release-3.11Brad King2018-05-111-8/+10
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2061
| * \ \ \ Merge branch 'FindBoost-backport-python-deps' into release-3.11Brad King2018-05-091-34/+34
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2045
| * \ \ \ \ Merge branch 'FindCUDA-revert-sepcomp-cublas' into release-3.11Brad King2018-05-081-2/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2048
| * \ \ \ \ \ Merge branch 'java-new-packaging-fixes' into release-3.11Brad King2018-05-082-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2042
| * \ \ \ \ \ \ Merge branch 'java-new-packaging-version-sort' into release-3.11Brad King2018-04-272-7/+31
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2016
| * \ \ \ \ \ \ \ Merge branch 'backport-java-new-packaging' into release-3.11Brad King2018-04-253-23/+91
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2007
| * \ \ \ \ \ \ \ \ Merge branch 'BLAS-no-target-in-libs' into release-3.11Brad King2018-04-242-2/+5
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2006
* | \ \ \ \ \ \ \ \ \ Merge topic 'FindPkgConfig-LINK_LIBRARIES'Brad King2018-05-142-21/+29
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92ac721a44 FindPkgConfig: export the list of found libraries also as variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2068
| * | | | | | | | | | | FindPkgConfig: export the list of found libraries also as variableRolf Eike Beer2018-05-112-21/+29
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
* | | | | | | | | | | Merge topic 'irsl-fortran-only-linux'Brad King2018-05-141-8/+10
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 05ece372a6 IRSL: Fix Intel library list for ifort-only setups Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2061