diff --git a/CMakeLists.txt b/CMakeLists.txt index b19bfac61b1..e58036a5cad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,8 +48,6 @@ cmake_minimum_required(VERSION 3.24) project(executorch) -# MARK: - Start EXECUTORCH_H12025_BUILD_MIGRATION - include(${PROJECT_SOURCE_DIR}/tools/cmake/common/preset.cmake) include(${PROJECT_SOURCE_DIR}/tools/cmake/Utils.cmake) include(CMakeDependentOption) @@ -82,6 +80,7 @@ announce_configured_options(BUCK2) announce_configured_options(CMAKE_CXX_COMPILER_ID) announce_configured_options(CMAKE_TOOLCHAIN_FILE) +announce_configured_options(BUILD_TESTING) load_build_preset() include(${PROJECT_SOURCE_DIR}/tools/cmake/preset/default.cmake) @@ -97,11 +96,6 @@ else() endif() announce_configured_options(CCACHE_PROGRAM) -# Print all the configs that were called with announce_configured_options. -print_configured_options() - -# MARK: - End EXECUTORCH_H12025_BUILD_MIGRATION - set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # Setup RPATH. See @@ -750,3 +744,6 @@ if(EXECUTORCH_BUILD_ANDROID_JNI) endif() include(Test.cmake) + +# Print all the configs that were called with announce_configured_options. +print_configured_options()