[C++][RestSDK] Windows vcpkg vs2017 support (#2751)

* Add boost-uid to vcpkg isntall command. It's required.

* Add instructions for building on visual studio 2017

* Add section to support vcpkg and visual studio

* Undef U on windows to stop compiler error

* Update pet store sample

* Move undef U to apiclient-header

* Slight change to address compiler warning
This commit is contained in:
dan-drl
2019-04-30 13:27:22 -07:00
committed by sunn
parent 5ea4391af5
commit a7df4adcf5
8 changed files with 66 additions and 2 deletions

View File

@@ -27,6 +27,10 @@
#include <cpprest/details/basic_types.h>
#ifdef _WIN32 | _WIN64
#undef U
#endif
#include <boost/optional.hpp>
namespace org {

View File

@@ -26,6 +26,10 @@
#include <cpprest/details/basic_types.h>
#ifdef _WIN32 | _WIN64
#undef U
#endif
#include <boost/optional.hpp>
namespace org {

View File

@@ -26,6 +26,10 @@
#include <cpprest/details/basic_types.h>
#ifdef _WIN32 | _WIN64
#undef U
#endif
#include <boost/optional.hpp>
namespace org {