mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b676ca560d
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
18 lines
584 B
CMake
18 lines
584 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_mapbuffer
|
|
SHARED
|
|
MapBuffer.cpp
|
|
MapBufferBuilder.cpp)
|
|
|
|
target_include_directories(react_render_mapbuffer PUBLIC ${REACT_COMMON_DIR})
|
|
target_link_libraries(react_render_mapbuffer glog glog_init react_debug)
|