summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'intel-cxx17-flags'Brad King2018-01-292-1/+13
|\ | | | | | | | | | | | | | | c3d576f5 Intel: Add C++17 compiler options 4a5727d3 Intel: Correct the C11 ext flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1711
| * Intel: Add C++17 compiler optionsChristian Pfeiffer2018-01-271-0/+11
| | | | | | | | | | | | | | Since Intel C++ 18.0, some C++17 features are supported if the flags -std=c++17, respectively /Qstd=c++17 are given. Fixes: #17687
| * Intel: Correct the C11 ext flagChristian Pfeiffer2018-01-271-1/+2
| | | | | | | | Intel does not support a 'gnu11' standard flag, only 'c11'.
* | Merge topic 'CPackDeb-help-typo'Brad King2018-01-251-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 99ba188c CPackDeb: Fix typo in documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1697
| * | CPackDeb: Fix typo in documentationTobias Svehagen2018-01-241-2/+2
| | |
* | | Merge topic 'xl-qoptfile'Brad King2018-01-251-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c4dc6485 XL: Enable use of response files for includes and objects e342e410 Makefile,Ninja: Use tool-specific response file flag for include dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1691
| * | | XL: Enable use of response files for includes and objectsBrad King2018-01-241-0/+2
| |/ / | | | | | | | | | | | | The IBM XL compiler supports response files via `-qoptfile=<file>` instead of `@<file>`.
* | | Merge topic 'fix-cray-pic'Brad King2018-01-255-6/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b886b46c Cray: Add common PIC flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1692
| * | | Cray: Add common PIC flagsChuck Atkins2018-01-245-7/+16
| | | | | | | | | | | | | | | | Fixes #17208
* | | | Merge topic 'RemoveKDevelop3'Brad King2018-01-251-13/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 551bd0b3 Generators: adjust error message for the removed KDevelop3 generator 9198e6a2 Generators: remove KDevelop3 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1688
| * | | Generators: remove KDevelop3 generatorAlex Neundorf2018-01-241-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* | | | Merge topic 'GenerateExportHeader-include-guard'Brad King2018-01-242-3/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1ae9aaf GenerateExportHeader: add release notes, tests for include guard changes f4082b0e GenerateExportHeader: add INCLUDE_GUARD_NAME option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1643
| * | | | GenerateExportHeader: add INCLUDE_GUARD_NAME optionKyle Edwards2018-01-232-3/+8
| |/ / / | | | | | | | | | | | | Fixes #16968.
* | | | Merge topic 'UseJava-native-headers-generation'Brad King2018-01-241-1/+73
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4829ea23 add_jar: add option GENERATE_NATIVE_HEADERS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1675
| * | | | add_jar: add option GENERATE_NATIVE_HEADERSMarc Chevrier2018-01-221-1/+73
| | |_|/ | |/| |
* | | | Merge topic 'generic-inc-sep-typo-remove'Brad King2018-01-243-9/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | cd3e1600 GenericSystem: Remove misspelled flag default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1683
| * | | 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 'boost-optional-components'Brad King2018-01-221-3/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2557cad5 FindBoost: support OPTIONAL_COMPONENTS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Paul "TBBle" Hampson <paul.hampson@pobox.com> Merge-request: !1660
| * | | | FindBoost: support OPTIONAL_COMPONENTSSergiu Deitsch2018-01-191-3/+5
| | | | |
* | | | | Merge topic 'FindJava-jdk-10'Brad King2018-01-221-9/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c08d207 FindJava: ignore javah for JDK 10, it has been removed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1637
| * | | | | FindJava: ignore javah for JDK 10, it has been removedStefan BrĂ¼ns2018-01-191-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The standalone javah tool has been removed, header generation happens during execution of javac. `javac -h` allows generation of headers only. See http://openjdk.java.net/projects/jdk/10/ and http://openjdk.java.net/jeps/313 for details. Fixes: #17613
* | | | | | Merge topic 'FindPythonInterp-windows-current-user'Brad King2018-01-221-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7d344be FindPythonInterp: support single-user installs on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1674
| * | | | | | FindPythonInterp: support single-user installs on WindowsWerner Palfinger2018-01-191-0/+3
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | CMake currently searches in HKEY_LOCAL_MACHINE. According to PEP 514, single-user installs are registered in HKEY_CURRENT_USER See also FindPythonLibs.cmake
* | | | | | Merge topic 'findopenmp-genex'Christian Pfeiffer2018-01-221-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ffa6f875 FindOpenMP: Employ genex where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1676
| * | | | | FindOpenMP: Employ genex where possibleChristian Pfeiffer2018-01-191-1/+1
| |/ / / / | | | | | | | | | | | | | | | Fixes: #17610
* | | | | 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.