diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-10-04 17:01:28 +0400 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-10-15 15:28:21 +0400 |
commit | 13ab37db55aa6c0463e5ef2191c9f0610483eb73 (patch) | |
tree | 4731b594af45f75750bff58c973413b65bfd70f7 | |
parent | e67b692738b7bea11f799feaa0c6d1b22a41bc8f (diff) |
[Subversion] Add copy native binaries and fix configuration mapping.
3 files changed, 23 insertions, 4 deletions
diff --git a/main/Main.sln b/main/Main.sln index 5e2cb1ee3e..213ca4c55f 100644 --- a/main/Main.sln +++ b/main/Main.sln @@ -1704,8 +1704,8 @@ Global {E2CAB397-D00C-4D11-8F5F-E3A052092969}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugGnome|Any CPU.ActiveCfg = Debug|Any CPU
{E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugGnome|Any CPU.Build.0 = Debug|Any CPU
- {E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugMac|Any CPU.ActiveCfg = Debug|Any CPU
- {E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugMac|Any CPU.Build.0 = Debug|Any CPU
+ {E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugMac|Any CPU.ActiveCfg = DebugMac|Any CPU
+ {E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugMac|Any CPU.Build.0 = DebugMac|Any CPU
{E2CAB397-D00C-4D11-8F5F-E3A052092969}.DebugWin32|Any CPU.ActiveCfg = Debug|Any CPU
{E2CAB397-D00C-4D11-8F5F-E3A052092969}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2CAB397-D00C-4D11-8F5F-E3A052092969}.Release|Any CPU.Build.0 = Release|Any CPU
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.csproj b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.csproj index dc8a9d9041..cf5ebd1d33 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.csproj +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.csproj @@ -35,6 +35,19 @@ <NoWarn>1591;1573</NoWarn> <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Subversion.Unix.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> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <NoWarn>1591;1573</NoWarn> + <DocumentationFile>..\..\..\..\build\AddIns\VersionControl\MonoDevelop.VersionControl.Subversion.Unix.xml</DocumentationFile> + </PropertyGroup> <ItemGroup> <Reference Include="System" /> </ItemGroup> @@ -83,4 +96,10 @@ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> </ItemGroup> + <ItemGroup Condition=" '$(Configuration)' == 'DebugMac' "> + <NativeBinaries Include="..\..\..\..\external\sharpsvn-binary\mac\*.dylib" /> + </ItemGroup> + <Target Name="AfterBuild"> + <Copy SourceFiles="@(NativeBinaries)" DestinationFolder="$(OutputPath)\" SkipUnchangedFiles="true" /> + </Target> </Project>
\ No newline at end of file diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.dll.config b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.dll.config index 1e3a4be805..f1ba0f2b37 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.dll.config +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Subversion.Unix/MonoDevelop.VersionControl.Subversion.Unix.dll.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8" ?> <configuration> - <dllmap os="osx" dll="libsvn_client-1.so.0" target="libsvn_client-1.dylib" /> - <dllmap os="osx" dll="libsvn_client-1.so.1" target="libsvn_client-1.dylib" /> + <dllmap os="osx" dll="libsvn_client-1.so.0" target="libsvn_client-1.0.dylib" /> + <dllmap os="osx" dll="libsvn_client-1.so.1" target="libsvn_client-1.0.dylib" /> <dllmap os="osx" dll="libapr-0.so.0" target="libapr-1.0.dylib" /> <dllmap os="osx" dll="libapr-1.so.0" target="libapr-1.0.dylib" /> <dllmap os="freebsd" dll="libapr-0.so.0" target="libapr-1.so" /> |