From 7977a41fba74030d86d10a4fdc18457b32775e77 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Thu, 14 Jul 2022 07:45:09 -0700 Subject: [PATCH] Add flipper sources to VS Studio solution Summary: Nothing interesting here, just adding necessary sources from Flipper into the VS Studio solution. As a consequence, some warnings had to be turned off as otherwise they're treated as errors and the solution doesn't build. Reviewed By: passy Differential Revision: D36760242 fbshipit-source-id: 2f5e615f8a465554dd35c245756f94bcace6e34a --- .../react-native-flipper/windows/NuGet.Config | 2 +- .../ReactNativeFlipper.vcxproj | 52 +++++++++++++++++-- .../ReactNativeFlipper.vcxproj.filters | 34 ++++++++++++ 3 files changed, 84 insertions(+), 4 deletions(-) diff --git a/react-native/react-native-flipper/windows/NuGet.Config b/react-native/react-native-flipper/windows/NuGet.Config index e5dd43a0a..f580b4c44 100644 --- a/react-native/react-native-flipper/windows/NuGet.Config +++ b/react-native/react-native-flipper/windows/NuGet.Config @@ -10,5 +10,5 @@ - + diff --git a/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj b/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj index fc67e60f8..9c8e8f7b2 100644 --- a/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj +++ b/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj @@ -80,14 +80,20 @@ + + false + + + false + - Use + NotUsing pch.h $(IntDir)pch.pch - Level4 + TurnOffAllWarnings %(AdditionalOptions) /bigobj - 4453;28204 + 4453;28204;4996 _WINRT_DLL;%(PreprocessorDefinitions) $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) @@ -106,14 +112,44 @@ _WIN32;_CRT_SECURE_NO_WARNINGS;FOLLY_NO_CONFIG;NOMINMAX;RN_EXPORT=;JSI_EXPORT=;WIN32;_WINDLL;_HAS_AUTO_PTR_ETC;__unused=[[maybe_unused]];FOLLY_MOBILE=1;_USE_MATH_DEFINES;_UNICODE;UNICODE;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS;BOOST_ALL_NO_LIB=1;BOOST_ERROR_CODE_HEADER_ONLY;BOOST_NO_RTTI;BOOST_NO_TYPEID;BOOST_SYSTEM_SOURCE;USE_EDGEMODE_JSRT;WIN32_LEAN_AND_MEAN;_DEBUG;_DEBUG;%(PreprocessorDefinitions) $(ProjectDir)..\..\node_modules\.fmt\fmt-7.1.3\include;$(ProjectDir)..\..\node_modules\.folly\folly-2021.06.28.00\;$(ProjectDir)..\..\node_modules\react-native-windows\stubs;%(AdditionalIncludeDirectories) + + %(AdditionalLibraryDirectories) + _WIN32;_CRT_SECURE_NO_WARNINGS;FOLLY_NO_CONFIG;NOMINMAX;RN_EXPORT=;JSI_EXPORT=;WIN32;_WINDLL;_HAS_AUTO_PTR_ETC;__unused=[[maybe_unused]];FOLLY_MOBILE=1;_USE_MATH_DEFINES;_UNICODE;UNICODE;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS;BOOST_ALL_NO_LIB=1;BOOST_ERROR_CODE_HEADER_ONLY;BOOST_NO_RTTI;BOOST_NO_TYPEID;BOOST_SYSTEM_SOURCE;USE_EDGEMODE_JSRT;WIN32_LEAN_AND_MEAN;_DEBUG;NDEBUG;%(PreprocessorDefinitions) $(ProjectDir)..\..\node_modules\.fmt\fmt-7.1.3\include;$(ProjectDir)..\..\node_modules\.folly\folly-2021.06.28.00\;$(ProjectDir)..\..\node_modules\react-native-windows\stubs;%(AdditionalIncludeDirectories) + + %(AdditionalLibraryDirectories) + + + + + + + + + + + + + + + + + + + + + + + + + ReactPackageProvider.idl @@ -121,6 +157,16 @@ + + + + + + + + + + Create diff --git a/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj.filters b/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj.filters index cf0bbe70b..e65d768e7 100644 --- a/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj.filters +++ b/react-native/react-native-flipper/windows/ReactNativeFlipper/ReactNativeFlipper.vcxproj.filters @@ -7,11 +7,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +