Files
CMake/Source
Brad King 1acd1c2b50 CSharp: Fix regression in VS project type selection for custom target
A target created by `add_custom_target` should always be a `.vcxproj`
file even if it has `.cs` sources involved in custom commands and such.
The latter case was broken by refactoring in commit v3.12.0-rc1~160^2~7
(remove TargetIsCSharpOnly() and use methods from cmGeneratorTarget,
2018-03-19).  The reason is that the `HasLanguage` method added by
commit v3.12.0-rc1~239^2~6 (cmGeneratorTarget: add HasLanguage() as
wrapper for GetLanguages(), 2018-03-19) does not check the target type
and so is not a suitable check for deciding the project file extension.

The `HasLanguage` method was an attempt at an abstraction that turns
out not to work very well.  Replace it with a dedicated `IsCSharpOnly`
method that considers the target type, sources, and non-transitive
`LINKER_LANGUAGE`.

Fixes: #18515
2018-10-31 09:20:15 -04:00
..
2018-09-10 07:32:16 -04:00
2018-06-04 10:32:49 -04:00
2018-06-04 10:32:49 -04:00
2018-05-31 08:50:15 -04:00
2018-10-03 08:20:44 -04:00
2018-06-04 10:32:49 -04:00
2018-01-04 06:52:01 +11:00
2018-06-04 10:32:49 -04:00
2018-06-04 10:32:49 -04:00
2018-06-04 10:32:49 -04:00
2018-06-04 10:32:49 -04:00
2018-01-04 06:52:01 +11:00
2018-06-04 10:32:49 -04:00
2018-06-04 10:32:49 -04:00
2018-02-26 11:24:45 -05:00
2018-02-26 11:24:45 -05:00
2018-06-04 10:32:49 -04:00
2017-11-03 10:25:05 -04:00
2018-02-13 11:24:30 -05:00
2018-06-04 10:32:49 -04:00
2017-11-03 10:25:05 -04:00
2018-04-03 17:28:08 -04:00