VS-10.csproj.in 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup Label="Globals">
  4. <ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid>
  5. <RootNamespace>CompilerId@id_lang@</RootNamespace>
  6. <Keyword>Win32Proj</Keyword>
  7. @id_system@
  8. @id_system_version@
  9. @id_TargetFrameworkVersion@
  10. @id_TargetFrameworkIdentifier@
  11. @id_TargetFrameworkTargetsVersion@
  12. @id_WindowsTargetPlatformVersion@
  13. @id_WindowsSDKDesktopARMSupport@
  14. </PropertyGroup>
  15. <PropertyGroup>
  16. @id_PreferredToolArchitecture@
  17. </PropertyGroup>
  18. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@id_platform@'" Label="Configuration">
  19. <ConfigurationType>Application</ConfigurationType>
  20. @id_toolset@
  21. <CharacterSet>MultiByte</CharacterSet>
  22. </PropertyGroup>
  23. <!-- ============================================================ -->
  24. <!-- == set preprocessor definitions == -->
  25. <!-- ============================================================ -->
  26. <PropertyGroup>
  27. <DefineConstants></DefineConstants>
  28. <UnknownValue>Unknown</UnknownValue>
  29. </PropertyGroup>
  30. <!-- Platform -->
  31. <PropertyGroup Condition="'$(Platform)'!=''">
  32. <DefineConstants>$(DefineConstants);Platform$(Platform)</DefineConstants>
  33. </PropertyGroup>
  34. <PropertyGroup Condition="'$(Platform)'==''">
  35. <DefineConstants>$(DefineConstants);Platform$(UnknownValue)</DefineConstants>
  36. </PropertyGroup>
  37. <!-- PlatformToolset -->
  38. <PropertyGroup Condition="'$(PlatformToolset)'!=''">
  39. <DefineConstants>$(DefineConstants);PlatformToolset$(PlatformToolset)</DefineConstants>
  40. </PropertyGroup>
  41. <PropertyGroup Condition="'$(PlatformToolset)'==''">
  42. <DefineConstants>$(DefineConstants);PlatformToolset$(UnknownValue)</DefineConstants>
  43. </PropertyGroup>
  44. <!-- ============================================================ -->
  45. <PropertyGroup>
  46. <OutputPath Condition="'$(Configuration)|$(Platform)'=='Debug|@id_platform@'">.\</OutputPath>
  47. </PropertyGroup>
  48. <ItemGroup>
  49. <Compile Include="@id_src@" />
  50. </ItemGroup>
  51. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  52. <PropertyGroup>
  53. <PostBuildEvent>if not "$(RoslynTargetsPath)"=="" if exist "$(RoslynTargetsPath)\@id_cl@" set _CSC=$(RoslynTargetsPath)
  54. if exist "$(MSBuildToolsPath)\@id_cl@" set _CSC=$(MSBuildToolsPath)
  55. if "%_CSC%"=="" exit -1
  56. %40echo CMAKE_@id_lang@_COMPILER=%_CSC%\@id_cl@</PostBuildEvent>
  57. </PropertyGroup>
  58. </Project>