mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add react_cxx_platform_react_devsupport cmake (#52166)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52166 Changelog: [Internal] Add cmake lib react_cxx_platform_react_devsupport Reviewed By: christophpurrer Differential Revision: D77037372 fbshipit-source-id: e6ed42492f29abfb93fe22b0c01a5d3a2ca7cf53
This commit is contained in:
committed by
Facebook GitHub Bot
parent
891656d055
commit
0a7e1342cd
@@ -0,0 +1,35 @@
|
||||
# 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.
|
||||
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
set(CMAKE_VERBOSE_MAKEFILE on)
|
||||
|
||||
include(${REACT_COMMON_DIR}/cmake-utils/react-native-flags.cmake)
|
||||
|
||||
file(GLOB react_cxx_platform_react_devsupport_SRC CONFIGURE_DEPENDS
|
||||
*.cpp
|
||||
inspector/*.cpp)
|
||||
add_library(react_cxx_platform_react_devsupport OBJECT ${react_cxx_platform_react_devsupport_SRC})
|
||||
|
||||
target_include_directories(react_cxx_platform_react_devsupport PUBLIC ${REACT_CXX_PLATFORM_DIR})
|
||||
|
||||
target_link_libraries(react_cxx_platform_react_devsupport
|
||||
glog
|
||||
nlohmann_json
|
||||
folly_runtime
|
||||
jsi
|
||||
OpenSSL::Crypto
|
||||
react_cxx_platform_react_http
|
||||
react_cxx_platform_react_nativemodule
|
||||
react_cxx_platform_react_renderer_scheduler
|
||||
react_cxx_platform_react_renderer_scheduler
|
||||
react_cxx_platform_react_threading
|
||||
react_codegen_rncore
|
||||
jsinspector
|
||||
react_debug
|
||||
react_renderer_graphics
|
||||
)
|
||||
target_compile_reactnative_options(react_cxx_platform_react_devsupport PRIVATE)
|
||||
target_compile_options(react_cxx_platform_react_devsupport PRIVATE -Wpedantic -Wno-deprecated-declarations)
|
||||
Reference in New Issue
Block a user