mbedtls_msvc.ps1

example build commands for mbedtls on windows
master
JoYo 2019-09-27 16:48:02 +00:00
parent dd5e1b5fba
commit 0174263403
1 changed files with 7 additions and 0 deletions

7
mbedtls_msvc.ps1 Normal file
View File

@ -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