# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# @generated by test/utils/generate_gtest_cmakelists.py
#
# This file should be formatted with
# ~~~
# cmake-format -i CMakeLists.txt
# ~~~
# It should also be cmake-lint clean.
#

cmake_minimum_required(VERSION 3.19)

set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)

include(${EXECUTORCH_ROOT}/tools/cmake/Test.cmake)

set(_test_srcs
    array_ref_test.cpp
    error_handling_test.cpp
    evalue_test.cpp
    event_tracer_test.cpp
    freeable_buffer_test.cpp
    function_ref_test.cpp
    hierarchical_allocator_test.cpp
    memory_allocator_test.cpp
    span_test.cpp
)

et_cxx_test(runtime_core_test SOURCES ${_test_srcs} EXTRA_LIBS)
