mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
cmake: Add CMakeLists.txt files for all examples
Generating using convert_to_cmake.py, with some minor cleanup
This commit is contained in:

committed by
Angus Gratton

parent
9d88d13f77
commit
800bffb8b0
8
examples/peripherals/adc/CMakeLists.txt
Normal file
8
examples/peripherals/adc/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/adc1_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(adc)
|
8
examples/peripherals/adc2/CMakeLists.txt
Normal file
8
examples/peripherals/adc2/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/adc2_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(adc2)
|
8
examples/peripherals/gpio/CMakeLists.txt
Normal file
8
examples/peripherals/gpio/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/gpio_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(gpio)
|
8
examples/peripherals/i2c/CMakeLists.txt
Normal file
8
examples/peripherals/i2c/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/i2c_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(i2c)
|
8
examples/peripherals/i2s/CMakeLists.txt
Normal file
8
examples/peripherals/i2s/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/i2s_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(esp32-i2s-driver-example)
|
8
examples/peripherals/i2s_adc_dac/CMakeLists.txt
Normal file
8
examples/peripherals/i2s_adc_dac/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/app_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(i2s-adc-dac)
|
8
examples/peripherals/ledc/CMakeLists.txt
Normal file
8
examples/peripherals/ledc/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/ledc_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(ledc)
|
8
examples/peripherals/pcnt/CMakeLists.txt
Normal file
8
examples/peripherals/pcnt/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/pcnt_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(pcnt)
|
8
examples/peripherals/rmt_nec_tx_rx/CMakeLists.txt
Normal file
8
examples/peripherals/rmt_nec_tx_rx/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/infrared_nec_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(infrared_nec)
|
8
examples/peripherals/rmt_tx/CMakeLists.txt
Normal file
8
examples/peripherals/rmt_tx/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/rmt_tx_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(rmt_tx)
|
8
examples/peripherals/sigmadelta/CMakeLists.txt
Normal file
8
examples/peripherals/sigmadelta/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/sigmadelta_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(sigmadelta)
|
8
examples/peripherals/spi_master/CMakeLists.txt
Normal file
8
examples/peripherals/spi_master/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/spi_master_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(spi_master)
|
8
examples/peripherals/timer_group/CMakeLists.txt
Normal file
8
examples/peripherals/timer_group/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/timer_group_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(timer_group)
|
8
examples/peripherals/touch_pad_interrupt/CMakeLists.txt
Normal file
8
examples/peripherals/touch_pad_interrupt/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/tp_interrupt_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(touch_pad_interrupt)
|
8
examples/peripherals/touch_pad_read/CMakeLists.txt
Normal file
8
examples/peripherals/touch_pad_read/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/tp_read_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(touch_pad_read)
|
8
examples/peripherals/uart_async_rxtxtasks/CMakeLists.txt
Normal file
8
examples/peripherals/uart_async_rxtxtasks/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/uart_async_rxtxtasks_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(uart_async_rxtxtasks)
|
8
examples/peripherals/uart_echo/CMakeLists.txt
Normal file
8
examples/peripherals/uart_echo/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/uart_echo_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(uart_echo)
|
8
examples/peripherals/uart_events/CMakeLists.txt
Normal file
8
examples/peripherals/uart_events/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# The following four lines of boilerplate have to be in your project's CMakeLists
|
||||
# in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
set(MAIN_SRCS main/uart_events_example_main.c)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(uart_events)
|
Reference in New Issue
Block a user