summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | FPHSA: add capability to specify message explaining reason of failureMarc Chevrier2019-09-271-6/+21
| |/ / | | | | | | | | | Fixes: #19660
* | | Merge topic 'FindBinUtils-ask-compiler'Brad King2019-09-272-21/+75
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | b2fd479df5 FindBinUtils: Use the compiler to get the path to compiler tools 587ccffe74 Tests: Add symbols to FortranModules static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3854
| * | FindBinUtils: Use the compiler to get the path to compiler toolsIsuru Fernando2019-09-272-21/+75
| |/ | | | | | | Fixes: #19728
* | Merge topic 'cpack-DEB-use-CPACK_PACKAGE_DESCRIPTION_FILE'Kyle Edwards2019-09-261-50/+127
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 33c7ea513d CPackDeb: Use `CPACK_PACKAGE_DESCRIPTION_FILE` 53be31e19c Refactor: Use `list` commands instead of old-way string ops b2c67a7703 Style: Remove spaces after command call and `(` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3541
| * | CPackDeb: Use `CPACK_PACKAGE_DESCRIPTION_FILE`Alex Turbov2019-09-211-16/+104
| | | | | | | | | | | | Also, handle per-component description nicely.
| * | Refactor: Use `list` commands instead of old-way string opsAlex Turbov2019-09-211-31/+20
| | |
| * | Style: Remove spaces after command call and `(`Alex Turbov2019-09-081-8/+8
| | |
* | | Merge topic 'iar-v850-asm'Brad King2019-09-241-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 158f3795b8 IAR: Add v850 assembler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3856
| * | | IAR: Add v850 assembler supportNico Mueller2019-09-231-0/+5
| | |/ | |/| | | | | | | | | | | | | Assembler compiler configuration for 'v850' architecture Issue: #17264
* | | Merge topic 'FindThreads-lib-name'Brad King2019-09-241-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | de5f123d3a FindThreads: Do not hard-code '-l' flag on library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3857
| * | | FindThreads: Do not hard-code '-l' flag on library nameAlan W. Irwin2019-09-231-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When not using the `-pthread` flag we instead return a library to link by name. Previously we hard-coded the `-l` flag before the library name. When used with `target_link_libraries`, the hard-coded `-l` flag is preserved rather than transformed into the link option preferred by the toolchain in use. Drop the explicit `-l` part to let CMake's generators produce the proper way to link the threads library for the current toolchain. Fixes: #19747
* | | Merge topic 'FindOpenSSL-static-deps'Brad King2019-09-241-5/+43
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 8098bd5768 FindOpenSSL: add pthread and dl dependencies to static lib on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3820
| * | FindOpenSSL: add pthread and dl dependencies to static lib on LinuxDavid Callu2019-09-201-5/+43
| |/
* | Merge topic 'autogen_path_prefix'Brad King2019-09-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc0900d9cd Help: Add release notes for AUTOMOC_PATH_PREFIX 692d8e3492 Help: Add documentation for AUTOMOC_PATH_PREFIX 1933ade9f1 Tests: At QtAutogen.MocIncludeSymlink test 706d9738a6 Tests: Merge QtAutogen.MocIncludeStrict and MocIncludeRelaxed d018d27c10 Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX) 77983c8147 Autogen: Add IsHeader flag to SourceFileT class f9e5441eb4 Autogen: Abbreviate file paths in messages 51676cf655 Autogen: Split JobEvalCacheT job into separate moc and uic jobs ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3818
| * | Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX)Sebastian Holtermann2019-09-161-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new `AUTOMOC_PATH_PREFIX` boolean target property enables automatic generation of the path prefix `-p` option for `moc`. `AUTOMOC_PATH_PREFIX` is initialized from the variable `CMAKE_AUTOMOC_PATH_PREFIX`, which is ON by default. When `AUTOMOC_PATH_PREFIX` is enabled, CMake tests if a `moc`ed header file is in one of the include directories. If so, then the `-p` option, with the relative path of the header parent directory to the respective include directory, is added to the `moc` command. If the header file is not in an include directory, the `-p` option is omitted. Closes: #18815 "AUTOMOC: generated files include full relative path, breaking certain reproducible builds"
* | Merge topic 'CMakeFindBinUtils-install_name_tool-prefix'Brad King2019-09-191-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 13a7c858c8 Use _CMAKE_TOOLCHAIN_PREFIX for install_name_tool as well Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3830
| * | Use _CMAKE_TOOLCHAIN_PREFIX for install_name_tool as wellIsuru Fernando2019-09-181-1/+1
| | |
* | | Merge topic 'FindGnuTLS-target'Brad King2019-09-191-10/+30
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 44e8b8f1f2 FindGnuTLS: add target GnuTLS::GnuTLS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3825
| * | FindGnuTLS: add target GnuTLS::GnuTLSDavid Callu2019-09-181-10/+30
| |/ | | | | | | Also add a test case for the module.
* | Merge topic 'shared-pch'Brad King2019-09-181-3/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 729d997f10 Precompile Headers: Add REUSE_FROM signature Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rickard Englund <rickard@r-englund.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Merge-request: !3762
| * | Precompile Headers: Add REUSE_FROM signatureCristian Adam2019-09-171-3/+10
| |/ | | | | | | | | | | | | Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
* | Merge topic 'iar-v850'Brad King2019-09-175-2/+15
|\ \ | | | | | | | | | | | | | | | | | | bd5006e813 IAR: Add v850 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3821
| * | IAR: Add v850 supportNico Mueller2019-09-165-2/+15
| |/ | | | | | | | | | | Add compiler identification for V850. Issue: #17264
* | Merge topic 'allow-pkg-config-missing-libraries'Brad King2019-09-171-1/+5
|\ \ | |/ |/| | | | | | | | | | | 28cb86d796 FindPkgConfig: Allow libraries that can't be found with their full path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3781
| * FindPkgConfig: Allow libraries that can't be found with their full pathChuck Atkins2019-09-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | pkg-config's .pc files can sometimes provide libraries that are visible to the linker but not present in CMake's known search paths. In the case where CMake can find some, but not all of the library dependencies provided in a .pc file, this allows them to be passed through as "-lfoo" when the full path can't be found. This also removes the test failure cases that occured because of this scenario and adjsuts the remaining tests to account for not-found libraries
* | Merge topic 'doxygen-add-docs-USE_STAMP_FILE'Craig Scott2019-09-061-17/+53
|\ \ | |/ |/| | | | | | | | | 611eb26b9d FindDoxygen: add USE_STAMP_FILE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3238
| * FindDoxygen: add USE_STAMP_FILE optionNikita Sirgienko2019-09-051-17/+53
| | | | | | | | The new option enables the behavior of only building if sources change.
* | Merge topic 'FindBoost-1.71'Brad King2019-09-041-9/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | 907d3ed824 FindBoost: Tolerate future Boost INTERFACE libraries 2d357b7a68 FindBoost: Clarify role of legacy variables in warning message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3780
| * | FindBoost: Tolerate future Boost INTERFACE librariesBrad King2019-09-041-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) we query imported targets provided by `BoostConfig.cmake` for their `IMPORTED_LOCATION_<cfg>`. Querying this property is not allowed on INTERFACE libraries, so add a condition to avoid doing so in case Boost adds one in the future. Suggested-by: Alexander Grund <alexander.grund@tu-dresden.de> Issue: #19656, #19402
| * | FindBoost: Clarify role of legacy variables in warning messageBrad King2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the wording of the warning added by commit 0dd6772a89 (FindBoost: Add legacy variables and targets for compatibility, 2019-06-14, v3.15.0-rc2~3^2~1) to refer to the old variables as "legacy" rather than "standard". Suggested-by: Alexander Grund <alexander.grund@tu-dresden.de> Issue: #19402
* | | Ninja: Pass preprocessor definitions when compiling with Intel FortranBrad King2019-09-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The Intel Fortran compiler supports an extension that allows conditional compilation based on preprocessor definitions specified on the command line even when not preprocessing. Fixes: #19664
* | | Merge topic 'FindPython-specify-artifacts-directly'Brad King2019-09-034-847/+1239
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06d9e67fbd FindPython: Add capability to specify directly artifacts cea2010b5c FindPython: Enhance python cache variables management. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3690
| * | | FindPython: Add capability to specify directly artifactsMarc Chevrier2019-09-024-205/+418
| | | | | | | | | | | | | | | | Fixes: #19492
| * | | FindPython: Enhance python cache variables management.Marc Chevrier2019-09-021-756/+935
| | |/ | |/| | | | | | | | | | | | | Ensure multiple cmake runs without cache clean-up will preserve artifacts selected on first run. This change address the issue #19492.
* | | Merge topic 'clang-ipo-support'Brad King2019-09-032-3/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dca9c33abc Tests: Remove old IPO test c856d4556b bindexplib: supporting llvm bitcode formats using llvm-nm 079b8e2916 Clang: prefer lld-link over link.exe 6e3655db2c Clang: add LTO support for GNU-command line clang on windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3527
| * | | Clang: prefer lld-link over link.exeZsolt Parragi2019-08-271-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | Objects compiled with -flto can only be linked with the llvm linker. Before this change, clang-cl only supperted IPO with manual linker selection.
| * | | Clang: add LTO support for GNU-command line clang on windowsZsolt Parragi2019-08-271-2/+9
| | | |
* | | | Merge topic 'gtest-1.8.1'Brad King2019-09-031-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aaf2435780 FindGTest: Add support for googletest 1.8.1 folder structure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3756
| * | | | FindGTest: Add support for googletest 1.8.1 folder structureKelby Faessler2019-08-301-0/+8
| | |/ / | |/| |
* | | | Merge topic 'vs-cuda-custom-dir'Brad King2019-09-032-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25f29b9741 cuda: Adapted tests to work with modified cuda toolset ee86770a3f cuda: Added docs for extended cuda toolset 0ad180d712 cuda: Extend cuda compiler detection to work with custom cuda path 55b0532128 cuda: Extend vs10 target generator to use custom cuda path df0247a371 cuda: Extend toolset argument to accept path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3713
| * | | | cuda: Extend cuda compiler detection to work with custom cuda pathBenjamin Wozniak2019-08-302-2/+9
| | | | |
* | | | | Merge topic 'FindPkgConfig-module-name'Brad King2019-09-031-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe68387695 FindPkgConfig: return the module found by pkg_search_module Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3749
| * | | | | FindPkgConfig: return the module found by pkg_search_moduleChristophe Giboudeaux2019-08-291-0/+7
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running `pkg_search_module`, it may be useful to get the matching module name in order to run `pkg_get_variable`. `pkg_search_module` now defines `<prefix>_MODULE_NAME` which contains the first matching module name. Fixes: #19648
* | | | | Merge topic 'cpack-install-multiple-configurations'Brad King2019-09-031-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | da5ac4bb60 cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS` variable d4e6b2ae25 Refactor: Use `unique_ptr` instead of raw pointer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3533