Ticket #7741: 0005-create_msvc-Add-MSVC10-project.patch

File 0005-create_msvc-Add-MSVC10-project.patch, 6.2 KB (added by Templier, 16 years ago)

5 - Add MSVC10 project & solution

  • tools/create_msvc/msvc10/create_msvc.sln

    Property changes on: tools\create_msvc\msvc10
    ___________________________________________________________________
    Added: svn:ignore
       + Debug
    Release
    
    
     
     1
     2Microsoft Visual Studio Solution File, Format Version 11.00
     3# Visual Studio 2010
     4Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_msvc", "create_msvc.vcxproj", "{CF177559-077D-4A08-AABE-BE0FD35F6C63}"
     5EndProject
     6Global
     7        GlobalSection(SolutionConfigurationPlatforms) = preSolution
     8                Debug|Win32 = Debug|Win32
     9                Release|Win32 = Release|Win32
     10        EndGlobalSection
     11        GlobalSection(ProjectConfigurationPlatforms) = postSolution
     12                {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Debug|Win32.ActiveCfg = Debug|Win32
     13                {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Debug|Win32.Build.0 = Debug|Win32
     14                {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Release|Win32.ActiveCfg = Release|Win32
     15                {CF177559-077D-4A08-AABE-BE0FD35F6C63}.Release|Win32.Build.0 = Release|Win32
     16        EndGlobalSection
     17        GlobalSection(SolutionProperties) = preSolution
     18                HideSolutionNode = FALSE
     19        EndGlobalSection
     20EndGlobal
  • tools/create_msvc/msvc10/create_msvc.vcxproj

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3  <ItemGroup Label="ProjectConfigurations">
     4    <ProjectConfiguration Include="Debug|Win32">
     5      <Configuration>Debug</Configuration>
     6      <Platform>Win32</Platform>
     7    </ProjectConfiguration>
     8    <ProjectConfiguration Include="Release|Win32">
     9      <Configuration>Release</Configuration>
     10      <Platform>Win32</Platform>
     11    </ProjectConfiguration>
     12  </ItemGroup>
     13  <PropertyGroup Label="Globals">
     14    <ProjectGuid>{CF177559-077D-4A08-AABE-BE0FD35F6C63}</ProjectGuid>
     15    <RootNamespace>create_msvc</RootNamespace>
     16  </PropertyGroup>
     17  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
     18  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
     19    <ConfigurationType>Application</ConfigurationType>
     20    <CharacterSet>MultiByte</CharacterSet>
     21    <WholeProgramOptimization>true</WholeProgramOptimization>
     22  </PropertyGroup>
     23  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
     24    <ConfigurationType>Application</ConfigurationType>
     25    <CharacterSet>MultiByte</CharacterSet>
     26  </PropertyGroup>
     27  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
     28  <ImportGroup Label="ExtensionSettings">
     29  </ImportGroup>
     30  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
     31    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
     32  </ImportGroup>
     33  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
     34    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" />
     35  </ImportGroup>
     36  <PropertyGroup Label="UserMacros" />
     37  <PropertyGroup>
     38    <_ProjectFileVersion>10.0.21006.1</_ProjectFileVersion>
     39    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
     40    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
     41    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\</OutDir>
     42    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
     43  </PropertyGroup>
     44  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     45    <ClCompile>
     46      <Optimization>Disabled</Optimization>
     47      <MinimalRebuild>true</MinimalRebuild>
     48      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     49      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
     50      <WarningLevel>Level4</WarningLevel>
     51      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
     52      <DisableLanguageExtensions>false</DisableLanguageExtensions>
     53      <DisableSpecificWarnings>4512;4127</DisableSpecificWarnings>
     54    </ClCompile>
     55    <Link>
     56      <AdditionalDependencies>Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
     57      <GenerateDebugInformation>true</GenerateDebugInformation>
     58      <TargetMachine>MachineX86</TargetMachine>
     59    </Link>
     60    <PostBuildEvent>
     61      <Command>xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc10\
     62xcopy /Y $(TargetPath) $(SolutionDir)\..\..\..\dists\msvc9\</Command>
     63    </PostBuildEvent>
     64  </ItemDefinitionGroup>
     65  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
     66    <ClCompile>
     67      <Optimization>MaxSpeed</Optimization>
     68      <IntrinsicFunctions>true</IntrinsicFunctions>
     69      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
     70      <FunctionLevelLinking>true</FunctionLevelLinking>
     71      <WarningLevel>Level3</WarningLevel>
     72      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
     73    </ClCompile>
     74    <Link>
     75      <AdditionalDependencies>Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
     76      <GenerateDebugInformation>true</GenerateDebugInformation>
     77      <OptimizeReferences>true</OptimizeReferences>
     78      <EnableCOMDATFolding>true</EnableCOMDATFolding>
     79      <TargetMachine>MachineX86</TargetMachine>
     80    </Link>
     81  </ItemDefinitionGroup>
     82  <ItemGroup>
     83    <ClCompile Include="..\create_msvc.cpp" />
     84  </ItemGroup>
     85  <ItemGroup>
     86    <ClInclude Include="..\create_msvc.h" />
     87  </ItemGroup>
     88  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
     89  <ImportGroup Label="ExtensionTargets">
     90  </ImportGroup>
     91</Project>
     92 No newline at end of file