mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system. This is the version that provides most new features and also the one we use in our latest docker image for CI.
		
			
				
	
	
		
			17 lines
		
	
	
		
			564 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			564 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
# This is the project CMakeLists.txt file for the test subproject
 | 
						|
cmake_minimum_required(VERSION 3.16)
 | 
						|
 | 
						|
# Include the components directory of the main application:
 | 
						|
#
 | 
						|
set(EXTRA_COMPONENT_DIRS "../components")
 | 
						|
 | 
						|
# Set the components to include the tests for.
 | 
						|
# This can be overriden from CMake cache:
 | 
						|
# - when invoking CMake directly: cmake -D TEST_COMPONENTS="xxxxx" ..
 | 
						|
# - when using idf.py: idf.py -T xxxxx build
 | 
						|
#
 | 
						|
set(TEST_COMPONENTS "testable" CACHE STRING "List of components to test")
 | 
						|
 | 
						|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
 | 
						|
project(unit_test_test)
 |