File: msbuild.sln.cmd

package info (click to toggle)
libcoap3 4.3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: ansic: 60,037; makefile: 1,280; sh: 938; python: 6
file content (25 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
pushd "%~dp0"

if exist Debug rd /s /q Debug
if exist Release rd /s /q Release
if exist x64 rd /s /q x64
if exist NoTLS rd /s /q NoTLS

cd ..

REM Need to set OPENSSL_INSTALL_PATH so we can build with OpenSSL
IF EXIST "C:\Program Files\OpenSSL\include\openssl\ssl.h" (
  SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL\"
) ELSE (
  SET "OPENSSL_INSTALL_PATH=C:\Program Files\OpenSSL-Win64\")
)

echo OPENSSL_INSTALL_PATH = %OPENSSL_INSTALL_PATH%

rem MSBuild.exe ./win32/libcoap.sln /p:Configuration=NoTLS /p:Platform=x64 /warnaserror
MSBuild.exe ./win32/libcoap.sln /p:Platform=x64 /warnaserror

:exit
popd
@echo on