summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-vctargetspath'Brad King2019-10-182-0/+11
|\ | | | | | | | | | | | | | | | | | | e7d57bc3c3 VS: Propagate CMAKE_VS_GLOBALS into custom targets 45b4b4b930 VS: Propagate CMAKE_VS_GLOBALS into compiler id projects 548e9051a4 VS: Add support to override VCTargetsPath through toolset 99e83d4235 cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSET Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3817
| * VS: Propagate CMAKE_VS_GLOBALS into compiler id projectsAlexander Boczar2019-10-172-0/+7
| | | | | | | | Issue: #19708
| * VS: Add support to override VCTargetsPath through toolsetAlexander Boczar2019-10-152-0/+4
| | | | | | | | Fixes: #19708
* | Merge topic 'graphviz'Brad King2019-10-171-60/+86
|\ \ | | | | | | | | | | | | | | | | | | | | | 553658393c Graphviz: added test suite, fixes, enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: slodki <slodki_dom@poczta.onet.pl> Merge-request: !3766
| * | Graphviz: added test suite, fixes, enhancementsCorentin Plouet2019-10-081-60/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a fairly comprehensive test suite * Separated the graph traversal logic from the Graphviz generation code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx} * Made the graph traversal logic less ad-hoc by using existing methods in the GlobalGenerator; this fixed a few bugs * Added support for new target types: custom targets, object and unknown libraries * Improved support for ALIAS libraries by showing the alias(es) in the graph * Introduced new flags to control those new libraries (consistent with existing flags) * Updated the documentation * Removed useless setting to set graph type in dot file * Improved the node/edge shapes (nicer, more consistent) * Added a legend to the graph * Some refactoring and cleanup of the Graphviz generation code * Added test and fix for issue 19746
* | | Merge topic 'FindCURL-cmake-package'Brad King2019-10-161-1/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c11e7c5c3d FindCURL: Try to find CURLConfig.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3903
| * | | FindCURL: Try to find CURLConfig.cmakeCharles Barto2019-10-151-1/+27
| | | |
| * | | Merge topic 'ExternalProject-minor-typos'Brad King2019-10-101-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d3b825cbd ExternalProject: fix some documentation typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3898
| * | | | Apple: Set Clang ASM compiler featuresGregor Jasny2019-10-071-0/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The same is done for the C and CXX language. This initializes compiler flags like the sysroot path or deployment target. Closes: #19794 Suggested-by: Kyle Fleming
* | | | Merge topic 'CMakeFindBinUtils-cleanup'Brad King2019-10-161-12/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0da223ff0 CMakeFindBinUtils: Remove unnecessary variable unset calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3920
| * | | | CMakeFindBinUtils: Remove unnecessary variable unset callsBrad King2019-10-151-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some unset calls were added by commit 079b8e2916 (Clang: prefer lld-link over link.exe, 2019-07-11, v3.16.0-rc1~161^2~2) but they are unnecessary since commit 3a82ef78eb (CMakeFindBinUtils: Rename and unset variables for additional names, 2019-07-23, v3.16.0-rc1~332^2~2). Suggested-by: Norbert Lange <nolange79@gmail.com>
* | | | | Merge topic 'FindCurses-tinfow'Brad King2019-10-161-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9fc87ef2e7 FindCurses: use tinfow when wide support is requested Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3915
| * | | | | FindCurses: use tinfow when wide support is requestedManuel Herrmann2019-10-151-2/+4
| |/ / / /
* | | | | Merge topic 'FindHDF5-cray'Brad King2019-10-161-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08f4b5dcf9 FindHDF5: Append hdf5 to hdf5_hl to avoid undefined references cd6f0ef35a FindHDF5: Cray HDF5 Fortran module filename is usually capitalized Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3918
| * | | | FindHDF5: Append hdf5 to hdf5_hl to avoid undefined referencesWillem Deconinck2019-10-151-1/+1
| | | | |
| * | | | FindHDF5: Cray HDF5 Fortran module filename is usually capitalizedWillem Deconinck2019-10-151-1/+1
| |/ / /
* | | | Merge topic 'FindOpenMP-clang-HIP-device'Brad King2019-10-151-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db5a8d7876 FindOpenMP: Add support for HIP clang device pass Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3911
| * | | | FindOpenMP: Add support for HIP clang device passKonstantin Pyzhov2019-10-121-0/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HIP clang makes 2 passes when compiling HIP programs: the DEVICE pass and the HOST pass. For openmp, the `-fopenmp` option is only passed to the HOST compilation pass. Therefore, the small test that CMake uses for OpenMP detection fails to compile, and CMake reports failure to detect OpenMP support in the compiler. The suggested solution is to add check for `__HIP_DEVICE_COMPILE__` macro defined by HIP clang for the DEVICE pass to the OpenMP detection test.
* | | | Merge topic 'FindPostgreSQL-macports-and-v12'Brad King2019-10-121-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec43d96657 FindPostgreSQL: support macports installation scheme 908dff41c6 FindPostgreSQL: support version 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3907
| * | | | FindPostgreSQL: support macports installation schemeBen Boeckel2019-10-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Macports installs into `include/postgresql${suffix}`. Add this to the list of supported suffixes. Also copy the non-server `postgresql/${suffix}` path.
| * | | | FindPostgreSQL: support version 12Ben Boeckel2019-10-111-1/+1
| |/ / /
* | | | Merge topic 'iar-8051-support'Brad King2019-10-126-3/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5652e11ea1 IAR: Add 8051 support 6e51db9a40 IAR: Fix v850 assembler support file extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3906
| * | | | IAR: Add 8051 supportMicael Borgefeldt2019-10-116-2/+22
| | | | | | | | | | | | | | | | | | | | Issue: #17264
| * | | | IAR: Fix v850 assembler support file extensionsMicael Borgefeldt2019-10-111-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Fix the file extension added by commit 158f3795b8 (IAR: Add v850 assembler support, 2019-09-23, v3.16.0-rc1~70^2). Issue: #17264
* | | | Merge topic 'objc-c++flags'Brad King2019-10-121-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 806e01d638 Objective-C: Do not treat Objective-C files as C++ files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3904
| * | | | Objective-C: Do not treat Objective-C files as C++ filesCristian Adam2019-10-111-1/+1
| |/ / / | | | | | | | | | | | | | | | | When both C and C++ langauges are enabled, the Objective-C files should be treated as C files and not as C++ files.
* | | | Merge topic 'InstallRequiredSystemLibraries-redist'Brad King2019-10-121-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ecbf6546d7 IRSL: Install vcruntime140_1.dll if available 2eecd1c3bc IRSL: Prefer MSVC runtime libraries from newest toolset first Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3909
| * | | | IRSL: Install vcruntime140_1.dll if availableBrad King2019-10-111-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2019 now distributes this additional runtime DLL with its `14.2x` toolsets. Fixes: #19829
| * | | | IRSL: Prefer MSVC runtime libraries from newest toolset firstBrad King2019-10-111-0/+1
| | | | |
* | | | | Intel: Fix default C++ dialect detection on WindowsBrad King2019-10-101-3/+13
| |/ / / |/| | | | | | | | | | | | | | | | | | | For the Intel Compiler for Windows we have some subtle preprocessor checks in compiler feature detection to detect C++11 and C++14 modes. Use these when detecting the default C++ dialect too.
* | | | Merge branch 'ExternalProject-minor-typos' into release-3.16Brad King2019-10-091-2/+2
|\ \ \ \ | | |_|/ | |/| | | | | | Merge-request: !3898
| * | | ExternalProject: fix some documentation typosBen Boeckel2019-10-091-2/+2
| | |/ | |/|
* | | Apple: Set Clang ASM compiler featuresGregor Jasny2019-10-091-0/+2
|/ / | | | | | | | | | | | | | | The same is done for the C and CXX language. This initializes compiler flags like the sysroot path or deployment target. Closes: #19794 Suggested-by: Kyle Fleming
* | Merge topic 'pch-clang-pch-regen'Brad King2019-10-042-3/+7
|\ \ | | | | | | | | | | | | | | | | | | bc4f8f4472 PCH: Use clang's own pch functionality instead of the GCC emulation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3881
| * | PCH: Use clang's own pch functionality instead of the GCC emulationCristian Adam2019-10-032-3/+7
| | | | | | | | | | | | Fixes: #19786
* | | Merge topic 'FindGTK2-harfbuzz'Brad King2019-10-031-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | effafca77e FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3877
| * | | FindGTK2: Add harfbuzz to GTK2_INCLUDE_DIRSMarkus Mittendrein2019-10-021-0/+3
| |/ / | | | | | | | | | Fixes: #19531
* | | FindJava: ensure all versions can be foundMarc Chevrier2019-10-022-3/+3
|/ / | | | | | | Fixes: #19765
* | Merge topic 'vs-v142-version'Brad King2019-10-021-1/+7
|\ \ | | | | | | | | | | | | | | | | | | 5117389931 VS: Fix support for v142 toolset minor versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3874
| * | VS: Fix support for v142 toolset minor versionsBrad King2019-10-011-1/+7
| |/ | | | | | | | | | | | | | | When using `-T v142,version=14.22` the `.props` file location is different starting with version `14.20` than it was in `14.16` and below. Adapt the path based on the version. Fixes: #19779
| * Merge branch 'FindBoost-1.71' into release-3.15Brad King2019-09-041-9/+15
| |\ | | | | | | | | | Merge-request: !3780
| * \ Merge branch 'FindBoost-1.71' into release-3.15Brad King2019-08-301-18/+31
| |\ \ | | | | | | | | | | | | Merge-request: !3763
| * \ \ Merge branch 'CrayPrgEnv-update-link-type-detection' into release-3.15Brad King2019-08-221-3/+17
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3716
| * \ \ \ Merge branch 'FindMPI-restore-flag-vars' into release-3.15Brad King2019-08-211-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3710
* | \ \ \ \ Merge topic 'FindCurses-ncursesw'Brad King2019-10-011-4/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 048860e172 FindCurses: toplevel ncursesw support, recover cflags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3845
| * | | | | | FindCurses: toplevel ncursesw support, recover cflagsnick black2019-09-281-4/+12
| | | | | | |
* | | | | | | Merge topic 'objective-c-cxx'Brad King2019-09-3032-2/+2263
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd0f304613 Objective C/C++: Add compiler standard detection b515af782b Help: Add release note for Objective-C/C++ language support 9e66397c28 Languages: Add support for Objective-C++ 80f120a85f Languages: Add support for Objective-C Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3811
| * | | | | | | Languages: Add support for Objective-C++Steve Wilson2019-09-2817-4/+1221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
| * | | | | | | Languages: Add support for Objective-CSteve Wilson2019-09-2817-2/+1046
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C compiler determination and identification. Add Modules to check Objective-C compiler flags, source compilations, program checks, etc... Use OBJC as the designator of the language, eg: project(foo OBJC) Add various tests for Objective-C language features. Add tests to preserve C++ handling of .m and .mm files when OBJC is not a configured language. Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
* | | | | | | | Merge topic 'FPHSA-reason-failure-message'Brad King2019-09-301-6/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60473cc660 FPHSA: add capability to specify message explaining reason of failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3866