summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindMatlab: Add EXECUTABLE, MODULE, and SHARED options to matlab_add_mexJamie Snape2016-09-231-4/+24
|
* FindMatlab: Add SIMULINK componentJamie Snape2016-09-231-0/+16
|
* FindMatlab: Fix documentationJamie Snape2016-09-231-1/+2
|
* Merge topic 'ninja-fortran'Brad King2016-09-233-0/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 33058150 Help: Document Ninja generator conditional Fortran support 59aae292 Ninja: Add dyndep rules for Fortran module dependencies 39ebfc79 Ninja: Add explicit preprocessing step for Fortran 9a77680e Ninja: Conditionally allow Fortran based on ninja 'dyndep' support 0f331d78 Ninja: Add internal tool to produce a ninja dyndep file for Fortran d3e0b64b Ninja: Add internal tool to scan Fortran code for module dependencies 8eca59a1 Ninja: Add comment with Fortran dependency design documentation a57d1bb7 Ninja: Add API to check for dyndep support 0488ae63 Ninja: Refactor ninja feature detection f0a23aa3 Ninja: Refactor Fortran rejection logic
| * Ninja: Add explicit preprocessing step for FortranBrad King2016-09-223-0/+9
| | | | | | | | | | | | | | | | | | | | All Fortran sources need to be preprocessed before any source may be compiled so that module dependencies can be (later) extracted. Factor out an explicit preprocessing step preceding compilation. Use Ninja depfile dependencies on the preprocessing step and then compile the already-preprocessed source with a separate build statement that depends explicitly only on the preprocessor output. Later we will insert dynamic discovery of module dependencies between these steps.
* | Merge topic 'CheckFortranSourceCompiles-custom-ext'Brad King2016-09-231-5/+12
|\ \ | | | | | | | | | | | | | | | 4d3874d5 CheckFortranSourceCompiles: Add support for custom source extension 86d2e427 CheckFortranSourceCompiles: Fix FAIL_REGEX documentation typo
| * | CheckFortranSourceCompiles: Add support for custom source extensionBrad King2016-09-221-4/+11
| | | | | | | | | | | | | | | Fortran compilers interpret the source extension to decide whether to preprocess and what language level to use by default.
| * | CheckFortranSourceCompiles: Fix FAIL_REGEX documentation typoBrad King2016-09-221-1/+1
| |/
* | FindOpenSSL: Search in more-specific directories before less-specificBrad King2016-09-221-6/+6
|/ | | | | | | | | | | Since commit v3.6.0-rc1~182^2 (FindOpenSSL: Prefer libs early in search path regardless of name, 2016-04-04) we use the `NAMES_PER_DIR` option to `find_library` calls to consider all names in each directory before moving on to the next directory. Fix our library search directory ordering to place more-specific (e.g. VC/) directories before the general directories. Otherwise they may never be considered. Closes: #16320
* Merge topic 'cpack-rpm-policy-warnings'Brad King2016-09-201-1/+4
|\ | | | | | | | | edb3f6ee CPackRPM: Avoid CMP0007 warnings
| * CPackRPM: Avoid CMP0007 warningsDomen Vrankar2016-09-201-1/+4
| | | | | | | | | | For older versions of CMake minimum required version CMP0007 policy warning was printed out.
* | Merge topic 'cpack-rpm-srpm-package'Brad King2016-09-202-25/+207
|\ \ | | | | | | | | | | | | d9cec8ad CPack/RPM: Generate source rpm (SRPM) packages on demand
| * | CPack/RPM: Generate source rpm (SRPM) packages on demandDomen Vrankar2016-09-202-25/+207
| |/ | | | | | | Closes: #15839
* | Merge topic 'cpack.hash_computing'Brad King2016-09-201-0/+9
|\ \ | | | | | | | | | | | | | | | 1c63aa4d CPack: Add option to generate a checksum file next to each package file 4682b42b Tests: Add subtest support to RunCMake/CPack infrastructure
| * | CPack: Add option to generate a checksum file next to each package filePetr Orlov2016-09-191-0/+9
| |/ | | | | | | Add variable CPACK_PACKAGE_CHECKSUM to activate it.
* | Merge topic 'ifw-package-resources'Brad King2016-09-201-0/+32
|\ \ | | | | | | | | | | | | b807cd9b CPackIFW: Add 'cpack_ifw_add_package_resources' command
| * | CPackIFW: Add 'cpack_ifw_add_package_resources' commandKonstantin Podsvirov2016-09-191-0/+32
| |/
* | Merge topic 'ExternalProject-HTTP_HEADER'Brad King2016-09-202-2/+17
|\ \ | | | | | | | | | | | | | | | 5e6716db Help: Add notes for topic 'ExternalProject-HTTP_HEADER' 0f424c3d ExternalProject: Add HTTP_HEADER
| * | ExternalProject: Add HTTP_HEADERRuslan Baratov2016-09-192-2/+17
| | |
* | | Merge topic 'cuda_use_cudadevrt_with_separable_compilation'Brad King2016-09-201-0/+13
|\ \ \ | |_|/ |/| | | | | | | | 891e0ebd FindCUDA: find cudadevrt and link it if CUDA_SEPARABLE_COMPILATION is ON
| * | FindCUDA: find cudadevrt and link it if CUDA_SEPARABLE_COMPILATION is ONRobert Maynard2016-09-201-0/+13
| | | | | | | | | | | | | | | Issue: #15157 Patch-by: l0calh05t on gitlab.kitware.com
* | | 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