Browse Source

mbedtls_msvc.ps1

example build commands for mbedtls on windows
master
JoYo 2 years ago
parent
commit
0174263403
  1. 7
      mbedtls_msvc.ps1

7
mbedtls_msvc.ps1

@ -0,0 +1,7 @@
New-Item "temp" -ItemType "directory" -Force
$client = New-Object System.Net.WebClient
$client.DownloadFile("https://github.com/ARMmbed/mbedtls/archive/development.zip", "temp\mbedtls-development.zip")
Expand-Archive -Path temp\mbedtls-development.zip -DestinationPath temp\
Move-Item temp\mbedtls-development\ C:\mbedtls\
MSBuild.exe C:\mbedtls\visualc\VS2010\mbedTLS.sln /p:Configuration=Release /p:Platform=x64
MSBuild.exe C:\mbedtls\visualc\VS2010\mbedTLS.sln /p:Configuration=Release /p:Platform=Win32
Loading…
Cancel
Save