Skip to content

Commit

Permalink
Experimental Visual C++ support in binding redirects - refernces #1467
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Feb 11, 2016
1 parent 40f7b45 commit f653365
Show file tree
Hide file tree
Showing 13 changed files with 525 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#### 2.50.1 - 09.02.2016
#### 2.50.2 - 10.02.2016
* Experimental Visual C++ support in binding redirects - https://github.com/fsprojects/Paket/issues/1467

#### 2.50.0 - 09.02.2016
Expand Down
9 changes: 9 additions & 0 deletions integrationtests/Paket.IntegrationTests/InstallSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,15 @@ let ``#1467 install package into vcxproj``() =
let s2 = File.ReadAllText newFile |> normalizeLineEndings
s1 |> shouldEqual s2

[<Test>]
let ``#1467 install native package into vcxproj``() =
let newLockFile = install "i001467-cpp-native"
let newFile = Path.Combine(scenarioTempPath "i001467-native","MyClassLibrary","PaketTest.vcxproj")
let oldFile = Path.Combine(originalScenarioPath "i001467-cpp-native","MyClassLibrary","PaketTest.vcxprojtemplate")
let s1 = File.ReadAllText oldFile |> normalizeLineEndings
let s2 = File.ReadAllText newFile |> normalizeLineEndings
s1 |> shouldEqual s2

[<Test>]
let ``#1442 warn if install finds no libs``() =
let result = paket "install" "i001442-warn-if-empty"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PaketTest", "PaketTest.vcxproj", "{D304A770-C25B-4930-86BC-589F6AFC07E7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Debug|x64.ActiveCfg = Debug|x64
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Debug|x64.Build.0 = Debug|x64
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Debug|x86.ActiveCfg = Debug|Win32
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Debug|x86.Build.0 = Debug|Win32
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Release|x64.ActiveCfg = Release|x64
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Release|x64.Build.0 = Release|x64
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Release|x86.ActiveCfg = Release|Win32
{D304A770-C25B-4930-86BC-589F6AFC07E7}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Tester.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>
Loading

0 comments on commit f653365

Please sign in to comment.