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_module_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 module_test.cpp) 27 28et_cxx_test( 29 extension_module_test 30 SOURCES 31 ${_test_srcs} 32 EXTRA_LIBS 33 extension_data_loader 34 extension_module_static 35 extension_tensor 36 portable_kernels 37 portable_ops_lib 38) 39