2017-04-19 12:22:08 -07:00
|
|
|
#
|
2018-09-11 15:27:47 -07:00
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
2017-04-19 12:22:08 -07:00
|
|
|
#
|
2018-02-16 18:24:55 -08: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-19 12:22:08 -07:00
|
|
|
#
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 3.4.1)
|
|
|
|
|
|
|
|
set(CMAKE_VERBOSE_MAKEFILE on)
|
|
|
|
|
2019-07-18 05:17:52 -07:00
|
|
|
file(GLOB_RECURSE yogacore_SRC yoga/*.cpp)
|
2017-04-19 12:22:08 -07:00
|
|
|
add_library(yogacore STATIC ${yogacore_SRC})
|
|
|
|
|
2019-08-07 23:49:59 -07:00
|
|
|
target_include_directories(yogacore PUBLIC .)
|
2017-04-19 12:22:08 -07:00
|
|
|
target_link_libraries(yogacore android log)
|
2019-05-14 05:25:35 -07:00
|
|
|
set_target_properties(yogacore PROPERTIES CXX_STANDARD 11)
|