File tree Expand file tree Collapse file tree
packages/react-native/ReactCxxPlatform/react/nativemodule Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Copyright (c) Meta Platforms, Inc. and affiliates.
2+ #
3+ # This source code is licensed under the MIT license found in the
4+ # LICENSE file in the root directory of this source tree.
5+
6+ cmake_minimum_required (VERSION 3.13 )
7+ set (CMAKE_VERBOSE_MAKEFILE on )
8+
9+ include (${REACT_COMMON_DIR} /cmake-utils/react-native-flags.cmake )
10+
11+ add_library (react_cxx_platform_react_nativemodule INTERFACE )
12+
13+ target_include_directories (react_cxx_platform_react_nativemodule INTERFACE ${REACT_CXX_PLATFORM_DIR} )
14+
15+ target_link_libraries (react_cxx_platform_react_nativemodule INTERFACE
16+ folly_runtime
17+ react_nativemodule_core
18+ )
19+ target_compile_reactnative_options (react_cxx_platform_react_nativemodule INTERFACE )
20+ target_compile_options (react_cxx_platform_react_nativemodule INTERFACE -Wpedantic )
You can’t perform that action at this time.
0 commit comments