react-native
Version:
A framework for building native apps using React
35 lines (28 loc) • 883 B
Plain Text
# 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)
add_compile_options(-fexceptions -frtti -std=c++20 -Wall -DLOG_TAG=\"Fabric\")
file(GLOB mapbuffer_SRC CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/react/common/mapbuffer/*.cpp)
add_library(mapbufferjni SHARED ${mapbuffer_SRC})
target_include_directories(mapbufferjni
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/react/common/mapbuffer/
)
target_link_libraries(mapbufferjni
fb
fbjni
folly_runtime
glog
glog_init
react_debug
react_render_mapbuffer
react_utils
react_config
yoga
)