summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'bundle_fixes'Craig Scott2019-01-062-13/+33
|\ | | | | | | | | | | | | | | | | | | | | 08be74bfd7 GetPrerequisites: Fix handling of executable scripts 52445300d6 GetPrerequisites: Allow prefixed tools 1bac4678ea GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verbose 5072598f07 BundleUtilites: Don't use hardcoded name for install_name_tool 428680da92 GetPrerequisites: Don't use hardcoded name for otool Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2748
| * GetPrerequisites: Fix handling of executable scriptsAlexander Grund2019-01-041-0/+9
| | | | | | | | Fixes: #18667
| * GetPrerequisites: Allow prefixed toolsAlexander Grund2018-12-311-10/+10
| | | | | | | | e.g. for cross-compilation with e.g. x86_64-pc-linux-gnu-ldd
| * GetPrerequisites: Add GET_PREREQUISITES_VERBOSE to set verboseAlexander Grund2018-12-311-0/+7
| |
| * BundleUtilites: Don't use hardcoded name for install_name_toolAlexander Grund2018-12-311-2/+6
| |
| * GetPrerequisites: Don't use hardcoded name for otoolAlexander Grund2018-12-301-1/+1
| |
* | Merge branch 'swig_src_file_ext' into 'master'Marc Chevrier2019-01-041-2/+24
|\ \ | | | | | | | | | | | | | | | | | | UseSWIG: Add support for custom Swig source file extensions Closes #18727 See merge request cmake/cmake!2764
| * | SWIG: Add support for custom Swig source file extensionsThirumal Venkat2019-01-031-2/+24
| | |
* | | Merge topic 'gtest-discovery-work-dir'Craig Scott2018-12-311-0/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 3bbf77fa01 Specify WORKING_DIRECTORY to execute_process() in GoogleTestAddTests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2761
| * | Specify WORKING_DIRECTORY to execute_process() in GoogleTestAddTestsNehal J Wani2018-12-281-0/+1
| |/
* | Merge topic 'remove-include-cmakeparsearguments'Craig Scott2018-12-293-6/+0
|\ \ | |/ |/| | | | | | | | | | | 88b40744b5 CMakeParseArguments: Remove superfluous includes of CMakeParseArguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !2744
| * CMakeParseArguments: Remove superfluous includes of CMakeParseArgumentsKyle Edwards2018-12-143-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Because cmake_parse_arguments() has been implemented as a native command, there is no need to include(CMakeParseArguments) anymore. Its inclusion has been removed from several CMake modules. Tests/CMakeOnly/CMakeLists.txt has been changed to include the *building* CMake's copy of CMakeParseArguments rather than the *built* CMake's copy. This file included the *built* copy because when this file was introduced, CMake could still be built with versions that didn't supply cmake_parse_arguments(). Now, CMake requires 3.1 or greater, where cmake_parse_arguments() existed but was still in the form of a module, so we include it from the *building* CMake.
* | Merge topic 'link-options'Craig Scott2018-12-2317-44/+173
|\ \ | | | | | | | | | | | | | | | | | | f255280fd9 PIE link options: Update strategy to fix performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2739
| * | PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-1917-44/+173
| |/ | | | | | | Fixes: #18700
* | Merge topic 'output-on-failure'Craig Scott2018-12-211-4/+47
|\ \ | | | | | | | | | | | | | | | | | | 19d86e26e3 ExternalProject: add LOG_OUTPUT_ON_FAILURE option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2625
| * | ExternalProject: add LOG_OUTPUT_ON_FAILURE optionWouter Klouwen2018-12-201-4/+47
| | | | | | | | | | | | | | | | | | | | | | | | This option only has an effect if at least one of the other LOG_<step> options is enabled. If an error occurs for a step which has logging to file enabled, that step's output will be printed to the console. For cases where a large amount of output is recorded, just the end of that output may be printed to the console.
* | | Help: FindLibLZMA: update formatting.Marc Chevrier2018-12-201-17/+23
| | |
* | | Merge branch 'topic-findliblzma' into 'master'Marc Chevrier2018-12-201-4/+22
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | FindLibLZMA: add imported target Closes #18679 and #18680 See merge request cmake/cmake!2730
| * | FindLibLZMA: add imported targetHiroshi Miura2018-12-131-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add imported target LibLZMA::LibLZMA - Show found message with library path - Add test for FindLibLZMA Fixes: #18680, #18679 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* | | Merge topic 'UseJava-jar-depends'Brad King2018-12-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5aa88f0e02 UseJava: add_jar: rebuild jar on dependencies changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2727
| * | | UseJava: add_jar: rebuild jar on dependencies changesMarc Chevrier2018-12-111-1/+1
| |/ / | | | | | | | | | Fixes: #18683
* | | Merge topic 'machoFormat'Brad King2018-12-121-7/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c86e82c092 Add Mach-O CMAKE_EXECUTABLE_FORMAT detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2722
| * | | Add Mach-O CMAKE_EXECUTABLE_FORMAT detectionMaikel van den Hurk2018-12-101-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Code for this was prototyped when ELF detection was added long ago but left commented out. Use either MH_MAGIC or MH_CIGAM for the 32-bit variant and use either or MH_MAGIC_64 or MH_CIGAM_64 for the 64-bit variant.
* | | | Merge topic 'FindThreads-drop-irix'Brad King2018-12-125-79/+44
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 83dab0c123 FindThreads: Drop IRIX-specific options and results Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2717
| * | | FindThreads: Drop IRIX-specific options and resultsBrad King2018-12-075-79/+44
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | We do not need to support IRIX anymore, so drop relevant parts. In particular, the `CMAKE_THREAD_PREFER_PTHREAD` is frequently confused with `THREADS_PREFER_PTHREAD_FLAG`. Also remove references to the IRIX-specific options and results from other modules and tests.
* | | Merge topic 'SWIG'Brad King2018-12-101-0/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff28141dc UseSWIG: add management of SWIG option -module 7b3d4799f8 Help: update policy 0078 documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2669
| * | | UseSWIG: add management of SWIG option -moduleMarc Chevrier2018-12-071-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When file property SWIG_MODULE_NAME is specified, provide option -module to SWIG compiler. Fixes: #18374
* | | | Merge topic 'cuda-arch-turing'Brad King2018-12-101-2/+16
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 0f9533e61b CUDA: Add CUDA 10 (Turing) detection Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !2702
| * | | CUDA: Add CUDA 10 (Turing) detectionAnton Chernov2018-12-071-2/+16
| | |/ | |/|
* | | Merge topic 'gnu-octave'Brad King2018-12-071-0/+167
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 170bcb6fdc FindOctave: Add module to find GNU octave Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2630
| * | | FindOctave: Add module to find GNU octaveMichael Hirsch, Ph.D2018-12-061-0/+167
| | |/ | |/|
* | | Merge topic 'submit-method'Brad King2018-12-072-8/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9501a6145d CTest: Remove special case for Dart version <= 1 e184603378 CTest: Add release note about removed submission methods 8c25aa2feb CTest: Remove submission trigger a688c6b928 CTest: Remove submit method 'ftp' c339b64cf2 CTest: Remove submit method 'scp' aebdad399e CTest: Remove submit method 'cp' c2f6872c4e CTest: Remove submit method 'xmlrpc' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2672
| * | | CTest: Remove special case for Dart version <= 1Regina Pfeifer2018-11-281-3/+0
| | | |
| * | | CTest: Remove submission triggerRegina Pfeifer2018-11-281-1/+0
| | | |
| * | | CTest: Remove submit method 'scp'Regina Pfeifer2018-11-282-4/+0
| | |/ | |/|
* | | Merge topic 'FindCURL-components'Brad King2018-12-071-4/+73
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5085a984e1 Help: Add notes for topic 'FindCURL-components' 8e5db11fd9 FindCURL: add test for component fc5afbe970 FindCURL: support COMPONENTS to check features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2677
| * | | FindCURL: support COMPONENTS to check featuresHiroshi Miura2018-12-061-4/+73
| | |/ | |/| | | | | | | | | | | | | | | | | | | - Use pkg-config or curl-config to retrieve version, supported features and protocols. - Support optional COMPONENTS to check supported features Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* | | Merge topic 'FindHDF5-static-hl'Brad King2018-12-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4e174e0960 FindHDF5: Fix search for static hdf5_hl on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2700
| * | | FindHDF5: Fix search for static hdf5_hl on WindowsMouginot B2018-12-061-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | The change in commit v3.10.0-rc1~411^2~1 (FindHDF5: Add support for HDF5_USE_STATIC_LIBRARIES on Windows, 2017-07-03) accidentally left out a `lib` prefix on the static library name of `hdf5_hl`. It was done correctly already for the main `hdf5` library.
* | | Merge topic 'qnx_compiler_detection'Brad King2018-12-076-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 243b7c40d4 QNX: Compiler and feature detection fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: MvdHurk <maikelvandenhurk@hotmail.com> Merge-request: !2699
| * | | QNX: Compiler and feature detection fixesCristian Adam2018-12-036-4/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested compiler detection with the QNX 7.0 list of compiler targets: * gcc_ntoaarch64le * gcc_ntoaarch64le_cxx * gcc_ntoarmv7le * gcc_ntoarmv7le_cxx * gcc_ntox86_cxx * gcc_ntoaarch64le_gpp * gcc_ntox86_64_gpp * gcc_ntoarmv7le_gpp * gcc_ntox86_64_cxx * gcc_ntox86 * gcc_ntox86_gpp * gcc_ntox86_64 This commit fixes some of the problems described in: https://cristianadam.eu/20181202/a-better-qnx-cmake-toolchain-file/
* | | Merge topic 'UseEcos-append-flags'Brad King2018-12-071-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 620e4e5e21 UseEcos: Append C and CXX flags instead of overwriting them Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2684
| * | | UseEcos: Append C and CXX flags instead of overwriting themantmak2018-12-061-2/+2
| |/ /
* | | Merge topic 'FindThreads-asan'Brad King2018-12-071-4/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | e9a1ddc594 FindThreads: Replace the pthread symbol checking in libc. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2629
| * | FindThreads: Replace the pthread symbol checking in libc.JerryShih2018-12-031-4/+12
| | | | | | | | | | | | | | | | | | | | | With asan build, we will have the pthread_create() symbol in libc. However, libasan doesn't have full pthread implementation. We can't assume that we have the pthread implementation in libc using pthread_create() symbol. Replace the pthread_create() with pthread_kill() as a quick fix.
* | | Merge topic 'try-compile'Brad King2018-12-0618-162/+343
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f266182aec Check* functions family: add support for LINK_OPTIONS 29f9db5c63 try_compile/try_run: Add support for LINK_OPTIONS option. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2661
| * | | Check* functions family: add support for LINK_OPTIONSMarc Chevrier2018-12-0118-162/+343
| | |/ | |/| | | | | | | Fixes: #18521
* | | Merge topic 'arch-independent-version-file-creation'Brad King2018-12-066-2/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb973f935f CMakePackageConfigHelpers: Add ARCH_INDEPENDENT option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Silvio Traversaro <pegua1@gmail.com> Merge-request: !2666
| * | | CMakePackageConfigHelpers: Add ARCH_INDEPENDENT optionJustin Bassett2018-12-016-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow skipping the architecture check in the package version file generated from calling write_basic_package_version_file. Document said architecture check. Fixes: #16184
* | | | CPack/Deb: Remove paxr as a supported tar format for a .debGuillem Jover2018-11-281-3/+6
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | The only format supported from the ones available within cpack is gnutar, which supports large numbers encoded in base-256, and long filenames and linknames. PAX is not and has never been a supported format by dpkg. Fixes: #18620