Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.

Commit 7d35282

Browse files
author
Lou Amadio
committed
Merge pull request #2 from zfields/master
Bring in support files for Ethernet lib NuGet package
2 parents 4b989d3 + b373d16 commit 7d35282

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

source/Microsoft.IoT.Arduino.SDK.targets

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
</ResourceCompile>
1010
</ItemDefinitionGroup>
1111
<ItemGroup>
12-
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\WString.cpp" />
13-
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\Stream.cpp" />
14-
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\Print.cpp" />
12+
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\IPAddress.cpp" />
1513
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\LiquidCrystal.cpp" />
14+
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\Print.cpp" />
1615
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\Stepper.cpp" />
16+
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\Stream.cpp" />
17+
<ClCompile Include="$(MSBuildThisFileDirectory)\Source\WString.cpp" />
1718
</ItemGroup>
1819
</Project>

source/build-nupkg.cmd

+7
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ md nupkg\build\native\lib
2828

2929
set arduinoSDKSources=..\Arduino\hardware\arduino\cores\arduino
3030
set arduinoLibrarySources=..\Arduino\libraries
31+
set arduinoVariantsSources=..\Arduino\hardware\arduino\variants
3132

3233
if not exist %arduinoSDKSources%\Print.h (
3334
echo The Arduino sources are not checked out. checking them out
@@ -47,14 +48,20 @@ copy Microsoft.IoT.Arduino.SDK.nuspec nupkg /y || goto err
4748
copy Microsoft.IoT.Arduino.SDK.targets nupkg\build\native /y || goto err
4849

4950
if exist (*.h) copy *.h nupkg\build\native\include /y || goto err
51+
copy %arduinoSDKSources%\Client.h nupkg\build\native\include /y || goto err
52+
copy %arduinoSDKSources%\IPAddress.h nupkg\build\native\include /y || goto err
5053
copy %arduinoSDKSources%\Print.h nupkg\build\native\include /y || goto err
5154
copy %arduinoSDKSources%\Printable.h nupkg\build\native\include /y || goto err
55+
copy %arduinoSDKSources%\Server.h nupkg\build\native\include /y || goto err
5256
copy %arduinoSDKSources%\Stream.h nupkg\build\native\include /y || goto err
5357
copy %arduinoSDKSources%\WString.h nupkg\build\native\include /y || goto err
58+
copy %arduinoSDKSources%\Udp.h nupkg\build\native\include /y || goto err
5459
copy %arduinoLibrarySources%\LiquidCrystal\LiquidCrystal.h nupkg\build\native\include /y || goto err
5560
copy %arduinoLibrarySources%\Stepper\Stepper.h nupkg\build\native\include /y || goto err
61+
copy %arduinoVariantsSources%\standard\pins_arduino.h nupkg\build\native\include /y || goto err
5662

5763
if exist (*.cpp) copy *.cpp nupkg\build\native\source /y || goto err
64+
copy %arduinoSDKSources%\IPAddress.cpp nupkg\build\native\source /y || goto err
5865
copy %arduinoSDKSources%\Print.cpp nupkg\build\native\source /y || goto err
5966
copy %arduinoSDKSources%\Stream.cpp nupkg\build\native\source /y || goto err
6067
copy %arduinoSDKSources%\WString.cpp nupkg\build\native\source /y || goto err

0 commit comments

Comments
 (0)