summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenCL: Add missing PATHS keywordKirill Mavreshko2017-05-051-0/+1
| | | | | | | The change in commit b888104e44 (FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL library, 2017-05-03) accidentally left out the `PATHS` keyword. Without it properly installed AMD APP SDK (OpenCL) cannot be detected. Tested on Ubuntu 16.04.
* FindOpenCL: add AMDAPPSDKROOT into paths for OpenCL libraryJeremy Tellaa2017-05-031-1/+5
| | | | | This path was only looked up for windows. The AMD SDK also exists for Linux, and we may want to use the OpenCL library for there.
* Merge topic 'add-language-standards-to-more-compilers'Brad King2017-05-027-0/+146
|\ | | | | | | | | | | | | | | | | | | 9b97cb55 PGI: Add language standards for PGI daae564d Cray: Add language standards for the Cray compiler 25e83ce5 CompileFeatures: Let STD compile options be a list 1de70845 Compilers: Add common macros to be used by various compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !784
| * PGI: Add language standards for PGIChuck Atkins2017-05-013-0/+34
| |
| * Cray: Add language standards for the Cray compilerChuck Atkins2017-05-013-0/+50
| |
| * Compilers: Add common macros to be used by various compilersChuck Atkins2017-05-011-0/+62
| | | | | | | | | | | | | | | | | | | | With numerous compilers now supporting multiple language standards in CMake, some common design patterns have begun to emerge. This is intended to be a collection of macros implementing many of those common design patterns that can be factored out and leveraged by many compilers. Currently this only contains the code to set the default language standard of not preset. More functionality will be added in the future as appropriate.
* | Merge topic 'sunpro-c++11-link'Brad King2017-05-021-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e17b1791 Features: On SunPro link with language standard compiler flag d037be12 cmLocalGenerator: Add a hook for compiler flags used at link time b115bc49 Features: Refactor <LANG>_STANDARD update Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !783
| * | Features: On SunPro link with language standard compiler flagBrad King2017-05-011-0/+1
| |/ | | | | | | | | | | When C++ feature requirements or `CXX_STANDARD` cause us to compile on SunPro with the `-std=c++11` option, link with the option too. This is needed to make the compiler use the matching standard library.
* | Merge topic 'FindMatlab-2017a'Brad King2017-05-021-0/+1
|\ \ | |/ |/| | | | | | | | | 6f04dffb FindMatlab: Add support for Matlab 2017a Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !780
| * FindMatlab: Add support for Matlab 2017aRaffi Enficiaud2017-05-011-0/+1
| |
* | Merge topic 'ipo-clang'Brad King2017-05-012-6/+73
|\ \ | | | | | | | | | | | | | | | | | | 7d057b27 Clang IPO (LTO) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !717
| * | Clang IPO (LTO) supportRuslan Baratov2017-04-282-6/+73
| | |
* | | XL: Add C and C++ language level flagsChuck Atkins2017-04-282-2/+99
| | |
* | | XL: Add additional regex for bogus compile optionsChuck Atkins2017-04-281-0/+1
|/ /
* | Merge topic 'fix-qhalt-for-xl'Brad King2017-04-2814-4/+38
|\ \ | | | | | | | | | | | | | | | | | | f320907b XL: Fix the use of the -qhalt flag for varying OSs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !771
| * | XL: Fix the use of the -qhalt flag for varying OSsChuck Atkins2017-04-2714-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The valid settings to pass to the IBM XL compiler for the -qhalt flag vary widely by language and platform. Based on existing documentation, the following table shows which error levels are valid to pass to -qhalt= since -qhalt=e is not always available. OS | xlc | xlC | xlf | ---------|-------|------------------ AIX | iwes | iw s | ilwesu | BlueGene | iwes | iwes | ilwesu | OS X | iwesu | iwesu | ilwesu | Linux | w | w | ilwesu |
* | | Merge topic 'FindBoost-compile-features'Brad King2017-04-281-0/+34
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4c2ae38b Boost Fiber actually require at least C++11. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !749
| * | | Boost Fiber actually require at least C++11.Alex Turbov2017-04-231-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some boost libraries may require particular set of compler features. The very first one was `boost::fiber` introduced in Boost 1.62. One can check required compiler features of it in `${Boost_ROOT}/libs/fiber/build/Jamfile.v2`.
* | | | Merge topic 'separgs-native'Brad King2017-04-284-17/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 28d83837 separgs: Use NATIVE_COMMAND where appropriate 2a207aac separgs: Add a NATIVE_COMMAND mode 81841426 separgs: Migrate tests to RunCMake tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !753
| * | | separgs: Use NATIVE_COMMAND where appropriateChristian Pfeiffer2017-04-264-17/+4
| | | |
* | | | Merge topic 'cpackifw-framework-version'Brad King2017-04-271-13/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 993ebdc7 CPackIFW: Framework version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !761
| * | | | CPackIFW: Framework versionKonstantin Podsvirov2017-04-251-13/+50
| | | | | | | | | | | | | | | | | | | | Improved algorithm for finding the version of QtIFW tools.
* | | | | Merge topic 'UseSWIG-fallback-prefix'Brad King2017-04-271-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ed66379 UseSWIG: Fall back to empty PREFIX for unknown languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !767
| * | | | | UseSWIG: Fall back to empty PREFIX for unknown languagesBrad King2017-04-251-0/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach `SWIG_ADD_LIBRARY` to fall back to an empty library prefix for languages we don't explicitly define already. Suggested-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
* | | | | Merge topic 'FindGLUT-optional-deps'Brad King2017-04-271-3/+5
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | e1b67d03 FindGLUT: Add library dependencies only if they exist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !765
| * | | | FindGLUT: Add library dependencies only if they existBrad King2017-04-261-3/+5
| |/ / / | | | | | | | | | | | | Fixes: #14060
* | | | Merge topic 'xctest_static_framework'Brad King2017-04-261-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfa92e57 XCTest: Add support for static frameworks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !732
| * | | | XCTest: Add support for static frameworksGuillaume Campagna2017-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes: #16636
* | | | | Merge topic 'findopenmp-modernized'Brad King2017-04-261-207/+328
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99ac0940 FindOpenMP: Add tests bb032c1b FindOpenMP: Complete overhaul. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !733
| * | | | FindOpenMP: Complete overhaul.Christian Pfeiffer2017-04-251-207/+328
| | | | |
* | | | | Merge topic 'remove-xcode-2'Brad King2017-04-243-251/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7373b389 Xcode: Drop support for Xcode versions below 3 eaf53849 Xcode: Compute version number earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !737
| * | | | | Xcode: Drop support for Xcode versions below 3Brad King2017-04-223-251/+2
| | |_|/ / | |/| | |
* | | | | Merge topic 'findmpi-improvements'Brad King2017-04-241-46/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ece4f647 FindMPI: Modernize documentation 6d4fa021 FindMPI: MPIEXEC handling improvements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !740
| * | | | | FindMPI: Modernize documentationChristian Pfeiffer2017-04-211-44/+45
| | | | | |
| * | | | | FindMPI: MPIEXEC handling improvementsChristian Pfeiffer2017-04-211-2/+13
| |/ / / /
* | | | | Merge topic 'namespace-jar-exports'Brad King2017-04-241-15/+21
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0bee0066 Tests: Test namespaces with exported JARs 789c8de3 UseJava: Support namespaced exports Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !729
| * | | | UseJava: Support namespaced exportsMatthew Woehlke2017-04-211-15/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add NAMESPACE option to export_jars and install_jar_exports. Import JAR's as imported static libraries rather than custom targets, as this is necessary to allow the imported targets to contain ':' in their names. (This also means they won't show up in VS projects, which is more consistent with other imported targets.) Also, improve the documentation to be more stylistically consistent with documentation elsewhere.
* | | | Merge topic 'cpack-rpm-buildrequires-docs'Brad King2017-04-211-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b3693e4 CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !730
| * | | | CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docsDomen Vrankar2017-04-201-0/+13
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Missing documentation for an already existing CPackRPM source rpm packages feature. Fixes #16814
* | | | Merge topic 'GNUInstallDirs-add-RUNSTATEDIR'Brad King2017-04-211-18/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40814a7c GNUInstallDirs: Add RUNSTATEDIR variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !706
| * | | | GNUInstallDirs: Add RUNSTATEDIR variableFelix Geyer2017-04-201-18/+26
| | | | |
* | | | | Merge topic 'FindwxWidgets-verify-wx-config'Brad King2017-04-211-0/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8b77084 FindwxWidgets: Verify existence of libraries reported by wx-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !704
| * | | | | FindwxWidgets: Verify existence of libraries reported by wx-configJan Mrázek2017-04-201-0/+22
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the Ubuntu package `libwxgtk3-dev` is not installed, FindwxWidgets succeeds even the required libraries are not actually found. The reason for that is that `wx-config` does not perform any kind of check and uses hard-coded values. This affects e.g. KiCAD build process and makes it fail with a confusing error message [1]. The solution is to check for presence of every library file obtained from `wx-config`. [1] https://bugs.launchpad.net/kicad/+bug/1630020
* | | | | Merge topic 'autogen-fixes'Brad King2017-04-213-0/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 09035319 Autogen: Pass explicit predefines header to moc if possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !671
| * | | | Autogen: Pass explicit predefines header to moc if possibleAleix Pol2017-04-203-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt is relying on whoever calls moc to include a file with the predefined values that will be used by the compiler, otherwise moc takes wrong paths and weird things happen. Instead, generate an include file and feed it to all mocs to make sure it's generating correct code. Co-Author: Sebastian Holtermann <sebholt@xwmw.org> Fixes: #16640
* | | | | Merge topic 'remove-vs7.1-generator'Brad King2017-04-206-30/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c94f1bcf Drop Visual Studio 7 .NET 2003 generator a4452fd8 cmGlobalVisualStudioGenerator: Drop VS7 enumeration value 6e66fe5f cmGlobalVisualStudio8Generator: Drop unused GetDocumentation method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !723
| * | | | | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-196-30/+4
| | | | | | | | | | | | | | | | | | | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | | | | | Merge topic 'FindBoost-fix-backslash-tolerance'Brad King2017-04-201-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2516bccd FindBoost: Restore tolerance of backslashes in paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !721
| * | | | | | FindBoost: Restore tolerance of backslashes in pathsAlex Turbov2017-04-191-2/+3
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.8.0-rc1~136^2 (FindBoost: Search official location of prebuilt binaries on Windows, 2016-12-21) we pass input paths through `_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` in more places than before. This broke tolerance of backslashes in paths provided by the user due to the macro argument re-parsing. Turn `_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` into a function instead of macro to avoid re-parsing of macro arguments. Fixes: #16816
* | | | | | Merge topic 'FindOpenSSL-more-precompiled'Brad King2017-04-201-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16ef163f FindOpenSSL: Add more library name alternatives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !713