summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-CPackIFW'Brad King2016-09-191-88/+107
|\ | | | | | | | | a327b206 CPackIFW: Format documentation
| * CPackIFW: Format documentationBrad King2016-09-161-88/+107
| | | | | | | | | | | | Place command documentation in explicit markup blocks and remove horizontal dividers. Use definition lists and bullet lists as appropriate.
* | Merge topic 'ifw-user-interfaces'Brad King2016-09-191-4/+28
|\ \ | |/ | | | | | | c2f0f41f CPackIFW: Add USER_INTERFACES option
| * CPackIFW: Add USER_INTERFACES optionPierluigi Taddei2016-09-161-4/+28
| | | | | | | | | | | | Add to CPackIFW the capability of accepting a list of USER_INTERFACES that are copied to the meta folder and added to the component description.
* | FindPostgreSQL: Search for version 9.6Tamar Kranenburg2016-09-181-2/+2
| |
* | FindPostgreSQL: Correct comment about known postgres versionsTamar Kranenburg2016-09-181-1/+1
| |
* | Merge topic 'ExternalProject-http-credentials'Brad King2016-09-162-2/+16
|\ \ | | | | | | | | | | | | | | | 9cbd04be Help: Add notes for topic 'ExternalProject-http-credentials' e1ca1173 ExternalProject: Add HTTP_{USERNAME,PASSWORD}
| * | ExternalProject: Add HTTP_{USERNAME,PASSWORD}Ruslan Baratov2016-09-152-2/+16
| | |
* | | FeatureSummary: Add include() to examplesBrad King2016-09-151-0/+2
| | | | | | | | | | | | | | | | | | | | | Since this module's documentation already includes complete usage examples, make them more complete by showing the include() explicitly. Issue: #16309
* | | FeatureSummary: Format documentationBrad King2016-09-151-247/+241
| | | | | | | | | | | | | | | Revise the documentation using reStructuredText inline markup and explicit blocks so that it formats well.
* | | FeatureSummary: Convert docs to a bracket commentBrad King2016-09-151-265/+266
| | | | | | | | | | | | | | | Use a bracket comment to hold the documentation instead of a block of line comments. This will make further updates easier.
* | | FeatureSummary: Order function implementations the same as the documentationBrad King2016-09-151-77/+73
| |/ |/|
* | Merge topic 'extend_matlab_unit_test'Brad King2016-09-152-23/+69
|\ \ | | | | | | | | | | | | 4ebb4ae6 FindMatlab: Extend matlab_add_unit_test to run arbitrary test code
| * | FindMatlab: Extend matlab_add_unit_test to run arbitrary test codeBill Hoffman2016-09-142-23/+69
| |/ | | | | | | | | Allow a custom matlab set of commands to be run as the test instead of just `runtests('matlab_file_name')`.
* | Merge topic 'fix-CMAKE_COMPILER_IS_GNU-confusion'Brad King2016-09-151-1/+1
|\ \ | | | | | | | | | | | | | | | 152bbe50 Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable a6d3f541 Help: Clarify documentation of CMAKE_COMPILER_IS_GNU{CC,CXX,G77}
| * | Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variableBrad King2016-09-141-1/+1
| |/ | | | | | | | | | | It is not called `CMAKE_COMPILER_IS_GNUC` (without last `C`). Closes: #16297
* | FindPython{Interp,Libs}: Add version 3.7Yen Chi Hsuan2016-09-142-2/+2
|/
* Merge topic 'bzip2-imported-targets'Brad King2016-09-121-1/+35
|\ | | | | | | | | | | | | 79eba4b7 Help: Add notes for topic 'bzip2-imported-targets' 069cac58 Tests: Add FindBZip2 unit tests e9ce0503 FindBZip2: Add imported target
| * FindBZip2: Add imported targetRoger Leigh2016-09-091-1/+35
| |
* | Merge topic 'wix-feature-patch'Brad King2016-09-121-1/+1
|\ \ | | | | | | | | | | | | c0bccc51 CPackWIX: Enabled patching of WIX <Feature> tags
| * | CPackWIX: Enabled patching of WIX <Feature> tagsMichael Stürmer2016-09-091-1/+1
| |/
* | GetPrerequisites: Recognize absolute paths to UCRT system librariesBrad King2016-09-081-2/+2
|/ | | | | | | | | | The matching expression added by commit v3.5.0-rc1~33^2 (GetPrerequisites: Define api-ms-win-* files as system libraries, 2016-01-19) did not account for absolute paths to the UCRT libraries. We already recognize absolute paths to the MSVC runtime libraries. Do this for UCRT libraries too. Issue: #16240
* Merge topic 'vs-15-generator'Brad King2016-09-081-0/+3
|\ | | | | | | | | | | | | bdc679a8 VS15: Add Visual Studio 15 generator a8936656 VS: Update v140 flag tables from VS 15 MSBuild files 21346d3f Features: Record features for VS 15 Preview 4
| * Features: Record features for VS 15 Preview 4Brad King2016-09-061-0/+3
| |
* | ExternalData: Tolerate files duplicated across multiple targetsBrad King2016-09-071-29/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple ExternalData_Target_Add calls generate the same output file then we need to avoid calling add_custom_command multiple times with that output. This was already done within a single target by setting a variable in the local function scope. This will not be visible in other calls though so we need to use a directory property instead to prevent adding a custom command multiple times for one output in a directory. Normally it is not safe to have multiple custom commands that produce the same output file across multiple independent targets, but since we use atomic replacement of outputs the resulting races should not be a problem. For the convenience of projects, tolerate this instead of diagnosing it. In particular, we previously allowed up to two copies of the custom command in one directory because CMake has a fallback from MAIN_DEPENDENCY to an `<output>.rule` file. While at it, add a note to the documentation that typically only one external data target should be needed for a project. Reported-by: David Manthey <david.manthey@kitware.com>
* | Merge topic 'GNUInstallDirs-function'Brad King2016-09-071-30/+51
|\ \ | | | | | | | | | | | | 17a24dc3 GNUInstallDirs: Add macro to expose internal logic publicly
| * | GNUInstallDirs: Add macro to expose internal logic publiclyRoger Leigh2016-09-071-30/+51
| |/
* | Merge topic 'cpack-deb-package-description-fallback'Brad King2016-09-071-21/+22
|\ \ | | | | | | | | | | | | 332b089a CPack/DEB: Make package description variable precedence match RPM
| * | CPack/DEB: Make package description variable precedence match RPMDomen Vrankar2016-09-071-21/+22
| |/ | | | | | | | | | | | | | | | | Make `CPACK_DEBIAN_PACKAGE_DESCRIPTION` fallback variable precedence match CPackRPM behavior as much as possible. This is technically a breaking change, but the new behavior is more consistent with expectation anyway. Closes: #16272
* | Merge topic 'FindMatlab-fix-empty-list-index'Brad King2016-09-071-2/+6
|\ \ | |/ |/| | | | | 29768b03 FindMatlab: Avoid indexing an empty list of versions
| * FindMatlab: Avoid indexing an empty list of versionsBrad King2016-09-061-2/+6
| |
* | Merge topic 'test-GenerateExportHeader-with-RunCMake'Brad King2016-09-064-0/+4
|\ \ | | | | | | | | | | | | | | | | | | 72ecdd34 Tests: Cleanup RunCMake.GenerateExportHeader somewhat fc3dab0e Tests: Port GenerateExportHeader test to RunCMake infrastructure 4feba34d GNU: Do not use -fvisibility on AIX or HP-UX
| * | GNU: Do not use -fvisibility on AIX or HP-UXBrad King2016-09-054-0/+4
| | | | | | | | | | | | | | | | | | Use of `-fvisibility=hidden` warns: warning: visibility attribute not supported in this configuration; ignored
* | | CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-051-1/+32
| |/ |/| | | | | | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* | Merge topic 'FindHDF5-is-parallel'Brad King2016-09-031-8/+60
|\ \ | | | | | | | | | | | | b61eab24 FindHDF5: Fix regression in providing HDF5_IS_PARALLEL
| * | FindHDF5: Fix regression in providing HDF5_IS_PARALLELBrad King2016-09-021-8/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.6.0-rc1~85^2 (HDF5: Refactor the use of compiler wrappers, 2016-04-01) we have additional code paths that find HDF5 and suppress the original search logic. Report HDF5_IS_PARALLEL from these other code paths too. Closes: #16257
* | | Merge topic 'FindHDF5-fix-hl-fortran'Brad King2016-09-031-1/+1
|\ \ \ | |_|/ |/| | | | | | | | befe8648 FindHDF5: Fix regression in finding hdf5hl_fortran
| * | FindHDF5: Fix regression in finding hdf5hl_fortranBrad King2016-09-021-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) accidentally dropped the name `hdf5hl_fortran` from the list of library names and replaced it with `hdf5_hl_fortran`. IIUC the latter name is when HDF5 is built with CMake and the former name is for other build systems. Since this is the non-CMake code path, user the former name. Closes: #16233
* | GenerateExportHeader: Fix add_compiler_export_flags regressionBrad King2016-09-011-1/+2
| | | | | | | | | | | | | | | | | | The mechanical conversion in commit 5d0d980d (Use string(APPEND) in Modules, 2016-07-28) accidentally introduced use of string(APPEND ... PARENT_SCOPE) Split that into the string(APPEND) and set(PARENT_SCOPE) pieces.
* | Merge topic 'FindEXPAT-use-PkgConfig'Brad King2016-09-011-2/+6
|\ \ | | | | | | | | | | | | fc695a77 FindEXPAT: use hints from PkgConfig
| * | FindEXPAT: use hints from PkgConfigChristoph Junghans2016-08-311-2/+6
| | |
* | | FindCUDA: Allow cuda_compile* macros to be called more than once per directoryStephen Sorley2016-08-311-2/+13
| | | | | | | | | | | | | | | | | | | | | Added a counter as a directory property that gets incremented every time one of the cuda_compile* macros is called. The value of this counter is then added to the phony target name passed to CUDA_WRAP_SRCS. This ensures that every call to one of these macros has its own unique intermediate output directory.
* | | FindCUDA: Fix for broken cuda_compile* commands.Stephen Sorley2016-08-311-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macros CUDA_COMPILE, CUDA_COMPILE_PTX, CUDA_COMPILE_FATBIN, and CUDA_COMPILE_CUBIN were broken by commit 7ded655 (FindCUDA: Take NVCC include directories from target properties, 2016-08-16). This bug is due to the fact that all of these macros call CUDA_WRAP_SRCS with a target name that's not an actual target, causing the new generator expressions to fail. Fix the bug by changing these macros to pass "PHONY" to CUDA_WRAP_SRCS. Now, when CUDA_WRAP_SRCS sees "PHONY", it falls back to the old behavior of populating the include directories and compile definitions from directory properties, instead of using target generator expressions.
* | | Merge topic 'FindOpenSSL-new-windows-names'Brad King2016-08-311-0/+17
|\ \ \ | | | | | | | | | | | | | | | | ed1758f8 FindOpenSSL: Fix detection of OpenSSL 1.1 Win32/64
| * | | FindOpenSSL: Fix detection of OpenSSL 1.1 Win32/64Alexis Murzeau2016-08-301-0/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since OpenSSL 1.1.0, Windows binaries are libcrypto and libssl instead of the old names libeay32 and ssleay32. When using MSVC, FindOpenSSL was searching for the old lib names only so this add the new names to be able to find OpenSSL 1.1.0 libraries. For example, the files in lib directory of OpenSSL 1.1.0 Win64 : - libcrypto.lib - libssl.lib - VC/libcrypto64MD.lib - VC/libcrypto64MDd.lib - VC/libcrypto64MT.lib - VC/libcrypto64MTd.lib - VC/libssl64MD.lib - VC/libssl64MDd.lib - VC/libssl64MT.lib - VC/libssl64MTd.lib 32 bits OpenSSL has the same files with "32" instead of "64" for files in VC directory. MinGW still works and use lib/libcrypto.lib and lib/libssl.lib. This patch also add libssl and libcrypto for other windows compilers too (like Intel).
* | | Merge topic 'fortran-macOS-sysroot'Brad King2016-08-311-0/+2
|\ \ \ | | | | | | | | | | | | | | | | d6f96207 Fortran: Use -isysroot and -mmacosx-version-min= on macOS if available
| * | | Fortran: Use -isysroot and -mmacosx-version-min= on macOS if availableBrad King2016-08-301-0/+2
| |/ / | | | | | | | | | Closes: #16265
* | | FindMatlab: adding handling of component "MAT"Raffi Enficiaud2016-08-301-20/+23
|/ / | | | | | | | | | | - documentation - test - cosmetic changes
* | Merge topic 'cpack-rpm-debuginfo-pkg'Brad King2016-08-261-2/+63
|\ \ | | | | | | | | | | | | | | | 426f97d3 CPack/RPM: Add test for debuginfo package generation bc8c0add CPack RPM debuginfo packages generation
| * | CPack RPM debuginfo packages generationIstvan Bodnar2016-08-251-2/+63
| | | | | | | | | | | | | | | Added new variable to CPackRPM for debuginfo rpm package generation. Binaries will be checked for debug symbols.