summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* ARMClang: Add support for Clang-based ARM compilerJohan Stridkvist2019-05-1413-1/+121
| | | | Fixes: #18215
* Merge topic 'FindPython-module'Marc Chevrier2019-05-104-77/+124
|\ | | | | | | | | | | | | | | 30b873c05d FindPython*: Manage weak link for Python modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3291
| * FindPython*: Manage weak link for Python modulesMarc Chevrier2019-05-074-77/+124
| | | | | | | | | | | | | | Add new target Python::Module which take care of platform requirements for Python module development. Fixes: #18100
* | Merge topic 'FindBoost-fphsa'Brad King2019-05-081-219/+147
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 634f6ea159 FindBoost: Add new unit tests a22dd5d8be FindBoost: Modernize module mode with FPHSA a315977595 FindBoost: Fix and modernize config mode with FPHSA 24342d5ef7 FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNT 26634752d0 FindBoost: Introduce new imported target Boost::headers d6c12f374d FindBoost: Compare versions consistently against Boost_VERSION_STRING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3243
| * | FindBoost: Modernize module mode with FPHSADennis Klein2019-05-071-130/+24
| | |
| * | FindBoost: Fix and modernize config mode with FPHSADennis Klein2019-05-071-10/+26
| | | | | | | | | | | | Fixes: #19186
| * | FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNTDennis Klein2019-05-071-19/+34
| | |
| * | FindBoost: Introduce new imported target Boost::headersDennis Klein2019-05-071-5/+15
| | |
| * | FindBoost: Compare versions consistently against Boost_VERSION_STRINGDennis Klein2019-05-071-55/+48
| |/
* | Merge topic 'findmpi-debug'Brad King2019-05-073-17/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | c499eccc5c FindMPI: Make tests valid C89 by returning 0 521ea77fc0 FindMPI: Correct documentaiton for library version c672a6a4b9 FindMPI: Add error logging Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3289
| * | FindMPI: Make tests valid C89 by returning 0Christian Pfeiffer2019-05-062-0/+2
| | |
| * | FindMPI: Correct documentaiton for library versionChristian Pfeiffer2019-05-061-1/+1
| | |
| * | FindMPI: Add error loggingChristian Pfeiffer2019-05-061-16/+27
| |/
* | Merge topic 'CTestCoverageCollectGCOV-updates'Brad King2019-05-071-23/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | 41d262bd3d CTestCoverageCollectGCOV: run gcov with -x 911b97867b CTestCoverageCollectGCOV: run gcov only once Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3258
| * | CTestCoverageCollectGCOV: run gcov with -xCristian Morales Vega2019-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Using "-x" we avoid overwriting .gcov files from source files in different paths which happen to have the same name. It's similar to "-p", but it produces shorter file names, reducing the risk of reaching the file system limit.
| * | CTestCoverageCollectGCOV: run gcov only onceCristian Morales Vega2019-05-031-22/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Running gcov once per .gcda file is not only inefficient, it also generates wrong data since .gcov files can get overwritten and in general gcov works with less information. fakegcov.cmake needs to be able to handle multiple .gcda files for the test to be meaningful.
* | | Merge topic 'use_intel_mkl_blas_intface_on_osX'Brad King2019-05-071-1/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 8527dbbf44 FindBLAS: Use Intel fortran interface on OS X even with GNU Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3286
| * | FindBLAS: Use Intel fortran interface on OS X even with GNU FortranJakub Benda2019-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Intel MKL Link Line Advisor, there is no GNU Fortran interface library provided for OS X variant of Intel MKL. Because of this missing library, FindBLAS was failing on OS X, looking for nonexistent library libmkl_gf_[i]lp64. To prevent this, FindBLAS will now always use Intel Fortran interface for MKL on OS X (libmkl_intel_[i]lp64), even with GNU Fortran.
* | | Merge topic 'FindPython-fix-Python_RUNTIME_LIBRARY_DIRS-variable'Brad King2019-05-061-3/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 34c0293532 FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3287
| * | | FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctlyMarc Chevrier2019-05-051-3/+6
| | | |
| * | | Merge branch 'FindPython-NumPy-fix-dependencies-management' into release-3.14Brad King2019-04-301-9/+13
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3274
* | \ \ \ Merge topic 'SWIG'Brad King2019-05-061-1/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3919bae17 UseSWIG: Manage alternate library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3241
| * | | | | UseSWIG: Manage alternate library nameMarc Chevrier2019-05-031-1/+8
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manage alternate library name by passing -interface <library_name> for python language or -dllimport <library_name> for CSharp language to the SWIG compiler. Fixes: #18771
* | | | | Merge topic 'findice-clang-cl'Brad King2019-05-061-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 541f079bd7 FindIce: Support clang-cl by checking CMAKE_CXX_SIMULATE_ID Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3284
| * | | | FindIce: Support clang-cl by checking CMAKE_CXX_SIMULATE_IDjspam2019-05-031-2/+2
| | | | | | | | | | | | | | | This applies commit d48bf97f, which does the same for FindBoost, to FindIce.
* | | | | Merge topic 'DetermineCompilerId-versioned-llvm-for-vs'Brad King2019-05-031-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c846dbf89e CMakeDetermineCompilerId: Support versioned LLVM for Visual Studio. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3281
| * | | | | CMakeDetermineCompilerId: Support versioned LLVM for Visual Studio.Zufu Liu2019-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supports versioned LLVM toolsets like LLVM_v142, LLVM_v141, LLVM_v141_xp, etc. for Visual Studio (2010 and later). The name for versioned LLVM toolsets has "LLVM_" prefix plus MSVC toolset name (i.e. v142, v141, v141_xp, etc.). Fixes: #19203
* | | | | | Merge topic 'memorize_cxx_compilers_with_full_CXX14_support'Brad King2019-05-033-0/+16
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dbec53255 CompileFeatures: Record when compilers gained full CXX14 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3280
| * | | | | CompileFeatures: Record when compilers gained full CXX14 supportRobert Maynard2019-05-023-0/+16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure added by commit 646fb1a646 (CompileFeatures: memoize C++ compilers with full language level support, 2019-03-27) to avoid using a `try_compile` to check for C++14 feature support when the running compiler is known to have all features.
* | | | | Merge topic 'ios_fixes'Brad King2019-05-021-4/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4783b842ba iOS: Only set the CMAKE_FIND_ROOT_PATH_MODE_* variables when not defined 5f5e3062cf iOS: Only look for packages in the provided CMAKE_FIND_ROOT_PATHs 94c5fa5f7a iOS: Allow setting multiple CMAKE_FIND_ROOT_PATH values 1011350694 iOS: Allow specifying CMAKE_MACOSX_BUNDLE in toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3273
| * | | | | iOS: Only set the CMAKE_FIND_ROOT_PATH_MODE_* variables when not definedAlexandru Croitor2019-04-301-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | This allows overriding them in a toolchain file.
| * | | | | iOS: Only look for packages in the provided CMAKE_FIND_ROOT_PATHsAlexandru Croitor2019-04-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both CMAKE_FIND_ROOT_PATH_MODE_INCLUDE and CMAKE_FIND_ROOT_PATH_MODE_LIBRARY are set to "ONLY" when cross building to iOS, but appears that CMAKE_FIND_ROOT_PATH_MODE_PACKAGE was overlooked. This causes packages to be searched for in the host system as well, which is incorrect and can lead to linking issues. Set CMAKE_FIND_ROOT_PATH_MODE_PACKAGE to "ONLY" as well. CMAKE_FIND_ROOT_PATH_MODE_PROGRAM is not touched, because a user might want to find programs / tools on the host system.
| * | | | | iOS: Allow setting multiple CMAKE_FIND_ROOT_PATH valuesAlexandru Croitor2019-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the value is hardcoded to contain only the sysroot for the respective darwin platform. This means that it can not be changed in a custom toolchain file. Instead of overriding the value, simply append it. This is similar to how it is done in the Google provided Android toolchain file. The usecase is to allow specifying addiitonal roots to look for 3rd party packages which are definitely not present in the default sysroot.
| * | | | | iOS: Allow specifying CMAKE_MACOSX_BUNDLE in toolchain fileAlexandru Croitor2019-04-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently CMAKE_MACOSX_BUNDLE is always set to true when compiling for iOS. This poses a problem when using the source file variant of try_compile. Even if a custom value is passed via the CMAKE_FLAGS option, it would still be overridden by the Darwin.cmake file. Only set the value in case no other value was provided before.
* | | | | | Merge topic 'cpackrpm.debug'Brad King2019-05-021-1/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9beea0cca CPackRPM: Hide CPACK_RPM_ROOTDIR debug if not CPACK_RPM_PACKAGE_DEBUG Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3271
| * | | | | CPackRPM: Hide CPACK_RPM_ROOTDIR debug if not CPACK_RPM_PACKAGE_DEBUGHarry Mallon2019-04-301-1/+3
| |/ / / /
* | | | | Merge topic 'IAR_6_x_fix'Brad King2019-05-012-3/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d78bea5df IAR: Fail early in case of IAR ARM 4.XX 0b684524ac IAR: Fix building with IAR ARM 6.X Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3263
| * | | | | IAR: Fail early in case of IAR ARM 4.XXDaniel Schürmann2019-04-262-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | This version is not yet supported because it uses xlink unsetad of ilink.
| * | | | | IAR: Fix building with IAR ARM 6.XDaniel Schürmann2019-04-252-3/+4
| | |_|_|/ | |/| | | | | | | | | | | | | Use the correct version macros and version numbers.
* | | | | Merge topic 'iar-binutils'Brad King2019-05-011-11/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01a4eec446 IAR: Changes required for Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3262
| * | | | | IAR: Changes required for LinuxStefan Andersson2019-04-251-11/+14
| |/ / / /
* | | | | Merge topic 'memorize_cxx_compilers_with_full_CXX11_support'Brad King2019-05-015-17/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d45a2ffe0 CompileFeatures: Record when compilers gained full CXX11 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3232
| * | | | | CompileFeatures: Record when compilers gained full CXX11 supportRobert Maynard2019-04-295-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure added by commit 646fb1a646 (CompileFeatures: memoize C++ compilers with full language level support, 2019-03-27) to avoid using a `try_compile` to check for C++11 feature support when the running compiler is known to have all features.
* | | | | | Merge topic 'FindPython-NumPy-fix-dependencies-management'Brad King2019-05-011-9/+13
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 68c8201711 FindPython: NumPy: fix erroneous dependencies management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3274
| * | | | | FindPython: NumPy: fix erroneous dependencies managementMarc Chevrier2019-04-301-9/+13
| | | | | |
* | | | | | Merge topic 'FindBoost-fix-fiber-compiler-features'Brad King2019-05-011-3/+11
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f06bf0fa57 FindBoost: Fix compiler features for `fiber` and `context` 684338aff6 FindBoost: Record compiler features for Boost 1.67 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3266
| * | | | | FindBoost: Fix compiler features for `fiber` and `context`Alex Turbov2019-04-301-0/+2
| | | | | |
| * | | | | FindBoost: Record compiler features for Boost 1.67 and aboveAlex Turbov2019-04-301-3/+9
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Remove the 1.67 upper-bound on compiler feature computation so that with newer versions we at least get it mostly right. Leave a comment with notes about updating features for future versions.
| * | | | Merge branch 'findqt3-hints-fix' into release-3.14Brad King2019-04-221-5/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3254
| * \ \ \ \ Merge branch 'FindOpenGL-libglvnd-subdir' into release-3.14Brad King2019-04-171-0/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3236