Summary: This change brings in Folly and Boost into our solution. Boost is resolved with NuGet. Folly is resolved by re-using the RNW integration. For reference: Flipper depends on Folly. Folly depends on a few things: - Boost - FMT - Glog - Double-Conversion Folly from RNW uses some stubs to resolve fmt, glog, and double-conversion. That's OK. Only Boost needs resolving. On Visual Studio, we can use the following package managers: NuGet and vcpkg. Boost can be resolved using either. Using NuGet as otherwise vcpkg needs to be run locally by anybody wanting to build the solution. NuGet makes things easier. Reviewed By: aigoncharov Differential Revision: D36759384 fbshipit-source-id: 31a9a398ce5c5dc2f3def02689ae4bb8c42fbb99
46 lines
999 B
C++
46 lines
999 B
C++
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define NOMINMAX
|
|
|
|
#include <CppWinRTIncludes.h>
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#endif
|
|
|
|
#include <math.h>
|
|
#include <windows.h>
|
|
|
|
#include <condition_variable>
|
|
#include <functional>
|
|
#include <iostream>
|
|
#include <map>
|
|
#include <string>
|
|
|
|
#include <folly/dynamic.h>
|
|
#include <folly/json.h>
|
|
|
|
#include <hstring.h>
|
|
#include <restrictederrorinfo.h>
|
|
#include <unknwn.h>
|
|
|
|
#if __has_include(<VersionMacros.h>)
|
|
#include <VersionMacros.h>
|
|
#endif
|
|
|
|
#include <winrt/Microsoft.ReactNative.h>
|
|
|
|
#include <winrt/Microsoft.UI.Xaml.Automation.Peers.h>
|
|
#include <winrt/Microsoft.UI.Xaml.Controls.Primitives.h>
|
|
#include <winrt/Microsoft.UI.Xaml.Controls.h>
|
|
#include <winrt/Microsoft.UI.Xaml.Media.h>
|
|
#include <winrt/Microsoft.UI.Xaml.XamlTypeInfo.h>
|
|
using namespace winrt::Windows::Foundation;
|