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 18 19file(GLOB react_debug_SRC CONFIGURE_DEPENDS *.cpp) 20add_library(react_debug SHARED ${react_debug_SRC}) 21 22target_include_directories(react_debug PUBLIC ${REACT_COMMON_DIR}) 23 24target_link_libraries(react_debug log folly_runtime) 25