• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) Meta Platforms, Inc. and affiliates.
2# All rights reserved.
3#
4# This source code is licensed under the BSD-style license found in the
5# LICENSE file in the root directory of this source tree.
6
7# @generated by test/utils/generate_gtest_cmakelists.py
8#
9# This file should be formatted with
10# ~~~
11# cmake-format -i CMakeLists.txt
12# ~~~
13# It should also be cmake-lint clean.
14#
15
16cmake_minimum_required(VERSION 3.19)
17project(extension_pytree_test)
18
19# Use C++17 for test.
20set(CMAKE_CXX_STANDARD 17)
21
22set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
23
24include(${EXECUTORCH_ROOT}/build/Test.cmake)
25
26set(_test_srcs function_ref_test.cpp test_pytree.cpp)
27
28et_cxx_test(extension_pytree_test SOURCES ${_test_srcs} EXTRA_LIBS)
29