summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineVSServicePack.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Modules: Use new keyword-dispatched try_compile signatureMatthew Woehlke2022-09-141-4/+2
| | | | | | | | | | | Modify most of the modules that ship with CMake to use the new try_compile / try_run signatures added by commit aa9220d3a0 (try_compile: Add keyword-dispatched signature, 2022-09-02). This improves debugging by each invocation using its own directory so that the results of multiple invocations can be retained. This does not cover any invocations which provide an entire project, as that flavor of try_compile has not yet been updated.
* Modules: Consistently use 2 space indentationKitware Robot2019-05-141-26/+26
|
* Use -? instead of /? to test compiler for MSVC-like command-line supportBrad King2019-02-191-1/+1
| | | | | | | | MS-style command-line tools accept either `/` or `-` for command-line options. Prefer `-` over `/` so that non-MS tools do not treat it as a path. Fixes: #18941
* Help: Use 'deprecated' template, and date deprecation of modulesJoachim Wuttke (o)2018-10-251-2/+3
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-29/+30
|
* Simplify CMake per-source license noticesBrad King2016-09-271-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* CMakeDetermineVSServicePack: Add deprecation diagnosticBrad King2014-04-141-0/+7
| | | | | | | Warn project developers at runtime that the module should not be used anymore. Issue the diagnostic only when the project requires a new enough CMake to use the alternative. Honor the CMAKE_(ERROR|WARN)_DEPRECATED settings.
* CMakeDetermineVSServicePack: Add VS 11 update 4Brad King2014-04-101-1/+3
|
* CMakeDetermineVSServicePack: Match versions more robustlyBrad King2014-04-101-31/+7
| | | | | | Use the CMAKE_MATCH_* variables to simplify matching logic. Match either 3 or 4 version components. Do not fail when there are only three components available.
* CMakeDetermineVSServicePack: Format documentationBrad King2014-04-101-10/+8
| | | | Also state explicitly that the module is deprecated.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-14/+26
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* CMakeDetermineVSServicePack: Add VS 11 update 3Brad King2013-06-281-0/+2
|
* CMakeDetermineVSServicePack: Add VS 11 update 1 and 2 (#14239)Brad King2013-06-211-1/+5
|
* CMakeDetermineVSServicePack: Improve documentationBrad King2013-06-211-24/+17
| | | | | | Refer users to the newer CMAKE_<LANG>_COMPILER_VERSION variables. Use a more concise summary. Format the documentation to look better in the "cmake --help-module" output.
* CMakeDetermineVSServicePack: Visual Studio 2012 addedPhilip Lowman2012-09-221-0/+3
|
* Detect VS 2010 SP1, faster and more robust detectionPhilip Lowman2011-06-151-25/+115
| | | | | | | Patch from Aaron C. Meadows Adds support for detecting VS 2010 SP1 Also improves performance using CMAKE_CXX_COMPILER if it is available and for robustness falls back using try_compile() and try_run()
* Fixes issue 11279: CMakeDetermineVSServicePack support for VS10Philip Lowman2010-10-011-2/+4
| | | | Thanks to Aaron C. Meadows for the patch.
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-1/+15
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* ENH: New function for determining Visual Studio service packPhilip Lowman2009-04-141-0/+81