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 6cmake_minimum_required(VERSION 3.13) 7set(CMAKE_VERBOSE_MAKEFILE on) 8 9add_compile_options( 10 -fexceptions 11 -frtti 12 -std=c++17 13 -Wall 14 -Wpedantic 15 -Wno-gnu-zero-variadic-macro-arguments 16 -DLOG_TAG=\"Fabric\") 17 18file(GLOB react_utils_SRC CONFIGURE_DEPENDS *.cpp *.mm) 19add_library(react_utils SHARED ${react_utils_SRC}) 20 21target_include_directories(react_utils PUBLIC ${REACT_COMMON_DIR}) 22 23target_link_libraries(react_utils 24 glog 25 glog_init 26 react_debug) 27