mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0d2ee7c17c
Summary: This Diff re-applies some of the changes that landed on main to the CMake files we currently landed so far. Changelog: [Internal] [Changed] - Re-apply main changes to CMake files Reviewed By: ShikaSD Differential Revision: D34859685 fbshipit-source-id: 772a3aed05f56b6fbb2942bf9d1a5bd4581b48d5
25 lines
632 B
CMake
25 lines
632 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.13)
|
|
set(CMAKE_VERBOSE_MAKEFILE on)
|
|
|
|
add_compile_options(
|
|
-fexceptions
|
|
-frtti
|
|
-std=c++17
|
|
-Wall
|
|
-DLOG_TAG=\"Fabric\")
|
|
|
|
file(GLOB react_utils_SRC CONFIGURE_DEPENDS *.cpp *.mm)
|
|
add_library(react_utils SHARED ${react_utils_SRC})
|
|
|
|
target_include_directories(react_utils PUBLIC ${REACT_COMMON_DIR})
|
|
|
|
target_link_libraries(react_utils
|
|
glog
|
|
glog_init
|
|
react_debug)
|