C++ Client for ASP.NET Core SignalR
Перейти к файлу
Brennan 7a72b7a295
Increase warning level and enable warning as error (#28)
2020-04-14 13:05:15 -07:00
.azure Build without CPPRestSDK (#24) 2020-02-04 16:06:57 -08:00
build Initial client merge (#2) 2019-04-02 12:14:15 -07:00
eng Add arcade to repo (#21) 2019-12-04 13:21:34 -08:00
include/signalrclient Increase warning level and enable warning as error (#28) 2020-04-14 13:05:15 -07:00
samples/HubConnectionSample Update license (#29) 2020-03-03 10:12:06 -08:00
src/signalrclient Increase warning level and enable warning as error (#28) 2020-04-14 13:05:15 -07:00
submodules Build without CPPRestSDK (#24) 2020-02-04 16:06:57 -08:00
test Increase warning level and enable warning as error (#28) 2020-04-14 13:05:15 -07:00
third_party_code Increase warning level and enable warning as error (#28) 2020-04-14 13:05:15 -07:00
.gitignore Add support for open folder in VS for local dev (#6) 2019-07-09 15:11:25 -07:00
.gitmodules Initial client merge (#2) 2019-04-02 12:14:15 -07:00
CMakeLists.txt Increase warning level and enable warning as error (#28) 2020-04-14 13:05:15 -07:00
CMakeSettings.json Start trying to ifdef cpprestsdk out (#10) 2019-11-06 12:49:07 -08:00
CODE-OF-CONDUCT.md Link Code of Conduct (#30) 2020-04-09 12:42:26 -07:00
Directory.Build.props Add arcade to repo (#21) 2019-12-04 13:21:34 -08:00
Directory.Build.targets Add arcade to repo (#21) 2019-12-04 13:21:34 -08:00
LICENSE.txt Update license (#29) 2020-03-03 10:12:06 -08:00
NuGet.config Add arcade to repo (#21) 2019-12-04 13:21:34 -08:00
README.md Replace web::json with signalr::value on public API (#12) 2019-11-12 08:44:14 -08:00
azure-pipelines.yml Always bootstrap vcpkg (#27) 2020-02-26 17:57:10 -08:00
global.json Add arcade to repo (#21) 2019-12-04 13:21:34 -08:00
run-tests.sh Build with CMake (#4) 2019-07-05 11:45:30 -07:00
startvs.cmd Add support for open folder in VS for local dev (#6) 2019-07-09 15:11:25 -07:00
third-party-notices.txt Change Json library (#18) 2019-11-23 13:23:56 -08:00

README.md

ASP.NET Core SignalR C++ Client

This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at https://github.com/aspnet/AspNetCore.

Use https://github.com/aspnet/AspNetCore/issues for issues with this project.

Build on Windows

PS> git submodule update --init
PS> .\submodules\vcpkg\bootstrap-vcpkg.bat
PS> .\submodules\vcpkg\vcpkg.exe install cpprestsdk:x64-windows
PS> mkdir build.release
PS> cd build.release
PS> cmake .. -A x64 -DCMAKE_TOOLCHAIN_FILE="..\submodules\vcpkg\scripts\buildsystems\vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release -DUSE_CPPRESTSDK=true
PS> cmake --build . --config Release

Output will be in build.release\bin\Release\

Build on Mac

$ git submodule update --init
$ brew install gcc6
$ ./submodules/vcpkg/bootstrap-vcpkg.sh
$ ./submodules/vcpkg/vcpkg install cpprestsdk
$ mkdir build.release
$ cd build.release
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../submodules/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DUSE_CPPRESTSDK=true
$ cmake --build . --config Release

Output will be in build.release/bin/

Build on Linux

$ git submodule update --init
$ ./submodules/vcpkg/bootstrap-vcpkg.sh
$ ./submodules/vcpkg/vcpkg install cpprestsdk boost-system boost-chrono boost-thread
$ mkdir build.release
$ cd build.release
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../submodules/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DUSE_CPPRESTSDK=true
$ cmake --build . --config Release

Output will be in build.release/bin/