Files
yoga/lib/fb/src/main/cpp/CMakeLists.txt

33 lines
594 B
CMake
Raw Normal View History

2017-04-20 12:43:17 -07:00
#
# Copyright (c) Facebook, Inc. and its affiliates.
2017-04-20 12:43:17 -07:00
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
2017-04-20 12:43:17 -07:00
#
cmake_minimum_required(VERSION 3.4.1)
set(CMAKE_VERBOSE_MAKEFILE on)
add_compile_options(
-fno-omit-frame-pointer
-fexceptions
-Wall
-std=c++11
-DDISABLE_CPUCAP
-DDISABLE_XPLAT)
file(GLOB fb_SRC
*.cpp
jni/*.cpp
jni/detail/*.cpp
2017-04-20 12:43:17 -07:00
lyra/*.cpp)
add_library(fb SHARED
${fb_SRC})
target_include_directories(fb PRIVATE
include)
target_link_libraries(fb android log)