cbuild.bat 684 B

123456789101112131415161718192021222324
  1. REM start broker and proxy
  2. REM Start-Process C:\Python36\python -ArgumentList 'test\mqttsas.py'
  3. REM Start-Process C:\Python36\python -ArgumentList 'startbroker.py -c localhost_testing.conf'
  4. setlocal
  5. set APPVEYOR_BUILD_FOLDER=%cd%
  6. rmdir /s /q build.paho
  7. mkdir build.paho
  8. cd build.paho
  9. REM call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
  10. call "j:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
  11. cmake -G "NMake Makefiles" -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=FALSE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ..
  12. nmake
  13. ctest -T test -VV
  14. cd ..
  15. endlocal