From 078c69e6891e703d5592e201b2b6670c961824b8 Mon Sep 17 00:00:00 2001 From: Renz Christian Bagaporo Date: Mon, 20 May 2019 14:23:28 +0800 Subject: [PATCH] cmake: remove redundant variable setting --- tools/cmake/project.cmake | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tools/cmake/project.cmake b/tools/cmake/project.cmake index d7bf90f05b..4522d0a2cf 100644 --- a/tools/cmake/project.cmake +++ b/tools/cmake/project.cmake @@ -397,15 +397,4 @@ macro(project project_name) idf_build_executable(${project_elf}) __project_info("${test_components}") - - # Make build variables and config variables available after project call (of course the value - # of these variables can be accessed via idf_build_get_property or idf_build_get_config) - idf_build_get_property(sdkconfig_cmake SDKCONFIG_CMAKE) - include(${sdkconfig_cmake}) - - idf_build_get_property(build_properties __BUILD_PROPERTIES) - foreach(build_property ${build_properties}) - idf_build_get_property(val ${build_property}) - set(${build_property} "${val}") - endforeach() endmacro() -- 2.40.0