summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* GenericSystem: Remove misspelled flag defaultChristian Pfeiffer2018-01-233-9/+0
| | | | | | | | In CMakeGenericSystem, it should be ``CMAKE_INCLUDE_SEP_<LANG>`` and not ``CMAKE_INCLUDE_<LANG>_SEP``. However, if the flag is defined, include behavior changes to Java-style non-repeating flags, which isn't intended. Therefore, removing the (misspelled) default initialization should help remove confusion and unintended side effects.
* Merge topic 'FindOpenGL-fix-typo'Brad King2018-01-191-1/+0
|\ | | | | | | | | | | | | c2aec683 FindOpenGL: remove duplicate OpenGL::GL reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1668
| * FindOpenGL: remove duplicate OpenGL::GL referenceBen Boeckel2018-01-181-1/+0
| |
* | Merge topic 'autogen-parallel'Brad King2018-01-182-4/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9cfa213a Autogen: Rename cmQtAutogeneratorInitializer to cmQtAutoGenInitializer 79908ae4 Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLEL 45ee4979 Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLEL 6f4b6613 Autogen: Tests: Add AUTOGEN_PARALLEL tests a008578d Autogen: Process files concurrently in AUTOMOC and AUTOUIC 488baaf0 Autogen: Tests: Fix MocInclude test(s) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1632
| * | Autogen: Process files concurrently in AUTOMOC and AUTOUICSebastian Holtermann2018-01-172-4/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces concurrent thread processing in the `_autogen` target wich processes AUTOMOC and AUTOUIC. Source file parsing is distributed among the threads by using a job queue from which the threads pull new parse jobs. Each thread might start an independent ``moc`` or ``uic`` process. Altogether this roughly speeds up the AUTOMOC and AUTOUIC build process by the number of physical CPUs on the host system. The exact number of threads to start in the `_autogen` target is controlled by the new AUTOGEN_PARALLEL target property which is initialized by the new CMAKE_AUTOGEN_PARALLEL variable. If AUTOGEN_PARALLEL is empty or unset (which is the default) the thread count is set to the number of physical CPUs on the host system. The AUTOMOC/AUTOUIC generator and the AUTORCC generator are refactored to use a libuv loop internally. Closes #17422.
* | Merge topic 'FindTCL-thread-suffix'Brad King2018-01-181-2/+2
|\ \ | | | | | | | | | | | | | | | | | | c9f66540 FindTCL: Find 8.6 libraries with 't' suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1663
| * | FindTCL: Find 8.6 libraries with 't' suffixlorenz2018-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Building Tcl with `makefile.vc` produces library files with a `t` suffix to indicate threading support. Since threading support is on by default in 8.6 anyway, the libraries should be compatible. Issue: https://github.com/conda-forge/tk-feedstock/issues/12
* | | Merge topic 'FindDoxygen-macos-utils'Craig Scott2018-01-171-0/+5
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 2489e5af FindDoxygen: On macOS search in '/Applications/Utilities' too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1661
| * | FindDoxygen: On macOS search in '/Applications/Utilities' tooThomas Thielemann2018-01-161-0/+5
| |/ | | | | | | | | | | `FindDoxygen` already searches in hard-coded `/Applications/Doxygen.app` directories. Search in the `Utilities` subdirectory too in case users choose to put doxygen there.
* | Merge topic 'CheckIncludeFile-required-libs'Brad King2018-01-163-0/+9
|\ \ | | | | | | | | | | | | | | | | | | f74c2580 CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1620
| * | CheckIncludeFiles: Honor CMAKE_REQUIRED_LIBRARIESDon Hinton2018-01-103-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is needed when cross compiling and the compiler requires a specific linker different from the default, e.g., when cross compiling from Darwin to Linux and passing `-fuse-ld=lld` to clang. Fixes: #9514
* | | GNU: Use -fvisibility on AIX when supportedBrad King2018-01-121-1/+3
| |/ |/| | | | | | | | | | | | | | | Revise the logic from commit v3.7.0-rc1~173^2~2 (GNU: Do not use -fvisibility on AIX or HP-UX, 2016-09-03) to add a version check. The GCC 7 release notes [1] state that visibility support has been added for AIX 7.1 and above. [1] https://gcc.gnu.org/gcc-7/changes.html
* | Merge topic 'msvc-asm'Brad King2018-01-111-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 6c3f374e MSVC: Avoid warning when enabling ASM language with C compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1655
| * | MSVC: Avoid warning when enabling ASM language with C compilerBrad King2018-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The `CMakeASMInformation` module warns when no compiler-specific module is found for the `ASM` language. Add a minimal `Compiler/MSVC-ASM` module to avoid the warning for MSVC. Fixes: #17532
* | | Merge topic 'misc-typos'Brad King2018-01-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d91b2d91 MAINT: Misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1654
| * | | MAINT: Misc. typosluz.paz2018-01-101-1/+1
| |/ / | | | | | | Found via `codespell`
* | | Merge topic 'FindBoost-1.66'Brad King2018-01-111-16/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6297d6c7 FindBoost: Generate imported targets for future Boost versions d56deff7 FindBoost: Search for upstream-packaged libs next to includes b044f69a FindBoost: Implement "Architecture and Address Model" tag b1e9f671 FindBoost: Fix incorrect alphabetisation of headers list 433a2d49 FindBoost: Boost 1.66.0 dependency and release update Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !1625
| * | | FindBoost: Generate imported targets for future Boost versionsPaul "TBBle" Hampson2018-01-101-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per discussion on cmake/cmake#17575, this protection not particularly valuable, as the dependency information which the imported targets wrap is generated anyway. This removes a road-block for using `Boost_ADDITIONAL_VERSIONS` to support newly-released Boost versions pending a new CMake release.
| * | | FindBoost: Search for upstream-packaged libs next to includesPaul "TBBle" Hampson2018-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | Upstream packages Boost binaries for Windows with the 'boost' directory (the INCLUDE_DIR) next to the lib-... directory (the LIBRARY_DIR).
| * | | FindBoost: Implement "Architecture and Address Model" tagPaul "TBBle" Hampson2018-01-101-10/+42
| | | | | | | | | | | | | | | | | | | | This tag is new in Boost 1.66.0, and is present in the 'versioned' library file name layout.
| * | | FindBoost: Fix incorrect alphabetisation of headers listPaul "TBBle" Hampson2018-01-101-1/+1
| | | |
| * | | FindBoost: Boost 1.66.0 dependency and release updatePaul "TBBle" Hampson2018-01-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: http://www.boost.org/users/history/version_1_66_0.html * All new libraries are header-only. * _Boost_COMPONENT_DEPENDENCIES is unchanged from 1.65.1 * _Boost_FIBER_COMPILER_FEATURES is unchanged from 1.64.0
* | | | Merge topic 'findmpi-new-mpiexec-search'Christian Pfeiffer2018-01-111-15/+45
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 5e9512a3 FindMPI: Move MSMPI/MPICH2 mpiexec search Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1653
| * | | FindMPI: Move MSMPI/MPICH2 mpiexec searchChristian Pfeiffer2018-01-101-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the logic to search mpiexec for MSMPI and MPICH2 guesses to their respective guessing logic. This way, we can prevent mix ups between their mpiexecs and other potential matches, for example from an Intel MPI installation.
* | | | Merge topic 'unhardcode-configuration-types'Brad King2018-01-1013-345/+62
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 1f4d7a07 Help: Add references and backticks in LINK_FLAGS prop_tgt 48f7e2d3 Unhardcode the CMAKE_CONFIGURATION_TYPES values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1345
| * | | Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-0813-345/+62
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
* | | Merge topic 'FindPostgres_support_for_v10'Brad King2018-01-091-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9417a6d3 FindPostgreSQL: Add support for PG10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1635
| * | | FindPostgreSQL: Add support for PG10Egor Pugin2018-01-091-2/+2
| | | |
| * | | Merge branch 'irsl-msvc-omp-fix' into release-3.10Brad King2017-12-121-2/+7
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !1588
| * \ \ \ Merge branch 'findmpi-builtin-fix' into release-3.10Brad King2017-12-121-121/+168
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1569
* | \ \ \ \ Merge topic 'cpack_versions'Brad King2018-01-091-5/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4153640 Cpack.cmake: Document some CPACK_* default values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1608
| * | | | | | Cpack.cmake: Document some CPACK_* default valuesHarry Mallon2017-12-201-5/+6
| | | | | | |
* | | | | | | Merge topic 'FindCUDA-deduplicate-c+std-host-flags'Brad King2018-01-091-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff41a4b8 FindCUDA: de-duplicates C++11 flag when propagating host flags. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1628
| * | | | | | | FindCUDA: de-duplicates C++11 flag when propagating host flags.David Hirvonen2018-01-061-1/+1
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge topic 'msvc2017-findcuda'Brad King2018-01-092-9/+16
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fab1b432 FindCUDA: Update to properly find MSVC 2017 compiler tools Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !1631
| * | | | | | FindCUDA: Update to properly find MSVC 2017 compiler toolsAaron Bray2018-01-082-9/+16
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | An implementation that handles the different installation locations of visual studio compiler tools
* | | | | | Merge topic 'use_generator_is_multi_config'Brad King2018-01-088-26/+42
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c413e2a GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules c267ea1c GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1627
| * | | | | | GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in ModulesCraig Scott2017-12-298-26/+42
| |/ / / / /
* | | | | | Merge topic '17431-iphone-deployment-target'Brad King2018-01-081-0/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | | | | | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-221-0/+15
| |/ / / / / | | | | | | | | | | | | | | | | | | Closes: #17431
* | | | | | Merge topic 'various-typos'Craig Scott2018-01-0415-16/+16
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ab7bf82 Various typo fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1626
| * | | | | | Various typo fixesLuz Paz2018-01-0315-16/+16
| |/ / / / / | | | | | | | | | | | | | | | | | | Some are user-facing. Others are source comments.
* | | | | | FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote preventionCraig Scott2018-01-021-8/+51
|/ / / / / | | | | | | | | | | | | | | | | | | | | Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any automatic quoting applied to it when written to the Doxyfile.
* | | | | Merge topic 'FindPkgConfig_search_path_fix'Brad King2017-12-221-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40b95ee8 FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handling b0ff528a FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !1602
| * | | | | FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handlingCraig Scott2017-12-161-5/+5
| |/ / / /
* | | | | Merge topic 'cpackifw-package-remove-target-dir'Brad King2017-12-211-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 739ae1d0 CPack/IFW: Add option to control deletion of the install directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1591
| * | | | | CPack/IFW: Add option to control deletion of the install directoryJean-Philippe Lebel2017-12-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable.
* | | | | | Merge topic 'FindBLAS-modernize'Brad King2017-12-211-44/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9c42e3e FindBLAS: optionally query pkg-config for a library c095e2ad FindBLAS: simplify if() fcf32645 FindBLAS: use FPHSA Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1599
| * | | | | | FindBLAS: optionally query pkg-config for a libraryRolf Eike Beer2017-12-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more or less what Gentoo implements for years, but in a more sophisticated version that uses the target mode now offered by pkg_check_modules().
| * | | | | | FindBLAS: simplify if()Rolf Eike Beer2017-12-151-2/+1
| | | | | | |