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# This file should be formatted with 8# ~~~ 9# cmake-format -i CMakeLists.txt 10# ~~~ 11# It should also be cmake-lint clean. 12# 13 14cmake_minimum_required(VERSION 3.19) 15project(runtime_platform_test) 16 17# Use C++17 for test. 18set(CMAKE_CXX_STANDARD 17) 19 20set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..) 21 22include(${EXECUTORCH_ROOT}/build/Test.cmake) 23 24et_cxx_test(platform_test SOURCES executor_pal_test.cpp) 25 26et_cxx_test(platform_death_test SOURCES executor_pal_death_test.cpp) 27 28et_cxx_test(logging_test SOURCES logging_test.cpp) 29 30et_cxx_test(clock_test SOURCES clock_test.cpp stub_platform.cpp) 31