diff options
Diffstat (limited to 'main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj')
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj | 87 |
1 files changed, 69 insertions, 18 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj index e766b05886..0c9fcac0bb 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj @@ -34,6 +34,43 @@ <NoWarn>1591;1573</NoWarn> <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Git.xml</DocumentationFile> </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugMac|AnyCPU' "> + <DebugSymbols>True</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>False</Optimize> + <OutputPath>..\..\..\..\build\AddIns\VersionControl</OutputPath> + <DefineConstants>DEBUG</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <ConsolePause>False</ConsolePause> + <NoWarn>1591;1573</NoWarn> + <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Git.xml</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugGnome|AnyCPU' "> + <DebugSymbols>True</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>False</Optimize> + <OutputPath>..\..\..\..\build\AddIns\VersionControl</OutputPath> + <DefineConstants>DEBUG</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <ConsolePause>False</ConsolePause> + <NoWarn>1591;1573</NoWarn> + <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Git.xml</DocumentationFile> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWin32|AnyCPU' "> + <DebugSymbols>True</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>False</Optimize> + <OutputPath>..\..\..\..\build\AddIns\VersionControl</OutputPath> + <DefineConstants>DEBUG</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <ConsolePause>False</ConsolePause> + <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Git.xml</DocumentationFile> + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> + <NoWarn>1591</NoWarn> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> @@ -81,10 +118,8 @@ <Compile Include="MonoDevelop.VersionControl.Git\GitCommitDialogExtensionWidget.cs" /> <Compile Include="gtk-gui\MonoDevelop.VersionControl.Git.GitCommitDialogExtensionWidget.cs" /> <Compile Include="MonoDevelop.VersionControl.Git\GitCommitDialogExtension.cs" /> - <Compile Include="MonoDevelop.VersionControl.Git\FilteredStatus.cs" /> <Compile Include="MonoDevelop.VersionControl.Git\UserGitConfigDialog.cs" /> <Compile Include="gtk-gui\MonoDevelop.VersionControl.Git.UserGitConfigDialog.cs" /> - <Compile Include="MonoDevelop.VersionControl.Git\MyersDiff.cs" /> <Compile Include="MonoDevelop.VersionControl.Git\GitSelectRevisionDialog.cs" /> <Compile Include="AddinInfo.cs" /> <Compile Include="MonoDevelop.VersionControl.Git\ProjectTemplateHandler.cs" /> @@ -110,22 +145,6 @@ <Name>MonoDevelop.VersionControl</Name> <Private>False</Private> </ProjectReference> - <ProjectReference Include="..\..\..\..\external\ngit\NGit\NGit.csproj"> - <Project>{E3BFF8B4-189C-496A-A817-7E8B31E22B91}</Project> - <Name>NGit</Name> - </ProjectReference> - <ProjectReference Include="..\..\..\..\external\ngit\NSch\NSch.csproj"> - <Project>{A19E6F3F-A25B-4B01-8922-CF0CC35C781D}</Project> - <Name>NSch</Name> - </ProjectReference> - <ProjectReference Include="..\..\..\..\external\ngit\Sharpen\Sharpen.csproj"> - <Project>{72944A6C-45FF-4EF8-B349-8C9CABF519D4}</Project> - <Name>Sharpen</Name> - </ProjectReference> - <ProjectReference Include="..\..\..\..\external\ngit\Sharpen.Unix\Sharpen.Unix.csproj"> - <Project>{849AE05D-0058-4A8C-A0E8-77DC6BB12E52}</Project> - <Name>Sharpen.Unix</Name> - </ProjectReference> <ProjectReference Include="..\..\..\..\external\xwt\Xwt\Xwt.csproj"> <Project>{92494904-35FA-4DC9-BDE9-3A3E87AC49D3}</Project> <Name>Xwt</Name> @@ -136,6 +155,15 @@ <Name>Mono.Addins</Name> <Private>False</Private> </ProjectReference> + <ProjectReference Include="..\..\..\..\external\libgit2sharp\LibGit2Sharp\LibGit2Sharp.csproj"> + <Project>{EE6ED99F-CB12-4683-B055-D28FC7357A34}</Project> + <Name>LibGit2Sharp</Name> + </ProjectReference> + <ProjectReference Include="..\..\..\..\external\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj"> + <Project>{3B2A5653-EC97-4001-BB9B-D90F1AF2C371}</Project> + <Name>ICSharpCode.NRefactory</Name> + <Private>False</Private> + </ProjectReference> </ItemGroup> <ItemGroup> <EmbeddedResource Include="MonoDevelop.VersionControl.Git.addin.xml"> @@ -153,4 +181,27 @@ </None> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <Choose> + <When Condition=" '$(Configuration)' == 'DebugMac' "> + <ItemGroup> + <NativeBinaries Include="..\..\..\..\external\libgit-binary\mac\*.dylib" /> + </ItemGroup> + </When> + <When Condition=" '$(Configuration)' == 'DebugWin32' "> + <ItemGroup> + <NativeBinaries Include="..\..\..\..\external\libgit-binary\windows\*.*" /> + </ItemGroup> + </When> + <When Condition=" '$(Configuration)' == 'DebugGnome' "> + <ItemGroup> + <NativeBinaries Include="..\..\..\..\external\libgit2sharp\libgit2\build\*.*" /> + </ItemGroup> + </When> + </Choose> + <Target Name="BeforeBuild"> + <Exec Command="bash build_libgit2.sh" Condition=" '$(Configuration)' == 'DebugGnome' " /> + </Target> + <Target Name="AfterBuild"> + <Copy SourceFiles="@(NativeBinaries)" DestinationFolder="$(OutputPath)\" SkipUnchangedFiles="true" /> + </Target> </Project>
\ No newline at end of file |