summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestCSharpCompiler.cmake
Commit message (Collapse)AuthorAgeFilesLines
* enable_language: Fix test for working compiler with CMP0126 NEW behaviorBrad King2021-07-151-0/+3
| | | | | | | | | | | | | | Update the logic that converts a `try_compile` result from a cache entry to a normal variable to tolerate an existing normal variable under CMP0126 NEW behavior. Otherwise the `try_compile` result is ignored because CMake uses the false value of the normal variable, and CMake incorrectly reports that the compiler does not work. This went unnoticed for some languages (e.g. C and CXX) because the check for a working compiler is skipped if ABI detection works. It does affect other languages (e.g. CSharp). Fixes: #22423
* Refactor: Use added message types in various modulesAlex Turbov2019-11-021-3/+5
| | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* Maint: misc. typosluz.paz2018-02-161-1/+1
| | | | Found via `codespell`
* Improve formatting of compiler failure error messageBrad King2017-09-191-2/+3
| | | | | | When we report that a compiler was unable to build a simple test program, indent the output of the attempt so that our message formatting will show it as a pre-formatted block.
* VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)Michael Stürmer2017-01-131-4/+0
|
* C# support: add compiler detection for MSVCMichael Stürmer2016-12-151-0/+68