Files
react-native/ReactCommon/react/renderer/attributedstring/CMakeLists.txt
T
Nicola Corti b676ca560d First Round of CMake files for React Android
Summary:
This is the first round of CMake files to support the React Native build on Android.
They're supposed to eventually replace the various Android.mk files we have around in the codebase.

So far we're not actively using them. This is the first step towards migrating our
setup to use CMake

Changelog:
[Internal] [Changed] - First Round of CMake files for React Android

Reviewed By: ShikaSD

Differential Revision: D34762524

fbshipit-source-id: 6671e203a2c83b8874cefe796aa55aa987902a3b
2022-03-11 11:39:23 -08:00

37 lines
930 B
CMake

# 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.4.1)
set(CMAKE_VERBOSE_MAKEFILE on)
add_compile_options(-fexceptions -frtti -std=c++17 -Wall -DLOG_TAG=\"Fabric\")
add_library(
react_render_attributedstring
SHARED
AttributedString.cpp
AttributedStringBox.cpp
ParagraphAttributes.cpp
TextAttributes.cpp
)
target_include_directories(react_render_attributedstring PUBLIC ${REACT_COMMON_DIR})
target_link_libraries(react_render_attributedstring
butter
folly_futures
folly_json
glog
glog_init
react_debug
react_render_core
react_render_debug
react_render_graphics
react_render_mapbuffer
react_utils
rrc_view
yoga
)