summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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 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
| * | | | | | | | 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