From 5c6c0344d32f9282059d46b6fe6f9925ac1f1202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20St=C3=BCrmer?= Date: Mon, 12 Dec 2016 14:52:29 +0100 Subject: C# support: add compiler detection for MSVC --- Modules/CompilerId/VS-10.csproj.in | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Modules/CompilerId/VS-10.csproj.in (limited to 'Modules/CompilerId') diff --git a/Modules/CompilerId/VS-10.csproj.in b/Modules/CompilerId/VS-10.csproj.in new file mode 100644 index 0000000000..833dca7cd8 --- /dev/null +++ b/Modules/CompilerId/VS-10.csproj.in @@ -0,0 +1,55 @@ + + + + {CAE07175-D007-4FC3-BFE8-47B392814159} + CompilerId@id_lang@ + Win32Proj + @id_system@ + @id_system_version@ + @id_WindowsTargetPlatformVersion@ + @id_WindowsSDKDesktopARMSupport@ + + + @id_PreferredToolArchitecture@ + + + Application + @id_toolset@ + MultiByte + + + + + + + Unknown + + + + $(DefineConstants);Platform$(Platform) + + + $(DefineConstants);Platform$(UnknownValue) + + + + $(DefineConstants);PlatformToolset$(PlatformToolset) + + + $(DefineConstants);PlatformToolset$(UnknownValue) + + + + .\ + + + + + + + cd /D "$(MSBuildToolsPath)" +if not %errorlevel%==0 exit -1 +if not exist @id_cl@ exit -2 +%40echo CMAKE_@id_lang@_COMPILER=$(MSBuildToolsPath)\@id_cl@ + + -- cgit v1.2.1