mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 21:40:34 +00:00
Merge topic 'CSharpVS2017'
435cebaa VS: Fix CSharp compiler identification for VS 2017
This commit is contained in:
commit
5efb8b9a5d
@ -47,9 +47,9 @@
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>cd /D "$(MSBuildToolsPath)"
|
||||
if not %errorlevel%==0 exit -1
|
||||
if not exist @id_cl@ exit -2
|
||||
%40echo CMAKE_@id_lang@_COMPILER=$(MSBuildToolsPath)\@id_cl@</PostBuildEvent>
|
||||
<PostBuildEvent>if not "$(RoslynTargetsPath)"=="" if exist "$(RoslynTargetsPath)\@id_cl@" set _CSC=$(RoslynTargetsPath)
|
||||
if exist "$(MSBuildToolsPath)\@id_cl@" set _CSC=$(MSBuildToolsPath)
|
||||
if "%_CSC%"=="" exit -1
|
||||
%40echo CMAKE_@id_lang@_COMPILER=%_CSC%\@id_cl@</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
Loading…
x
Reference in New Issue
Block a user