Ecran double sur port I2C
Dependencies: Adafruit_GFX TextLCD
CMakeLists.txt@4:b823c5f2780e, 23 months ago (annotated)
- Committer:
- diltech
- Date:
- Mon May 30 00:27:58 2022 -0400
- Branch:
- develop
- Revision:
- 4:b823c5f2780e
- Parent:
- 0:9a306207c5b2
revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
diltech | 0:9a306207c5b2 | 1 | # Copyright (c) 2020 ARM Limited. All rights reserved. |
diltech | 0:9a306207c5b2 | 2 | # SPDX-License-Identifier: Apache-2.0 |
diltech | 0:9a306207c5b2 | 3 | |
diltech | 0:9a306207c5b2 | 4 | cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR) |
diltech | 0:9a306207c5b2 | 5 | |
diltech | 0:9a306207c5b2 | 6 | set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/mbed-os CACHE INTERNAL "") |
diltech | 0:9a306207c5b2 | 7 | set(MBED_CONFIG_PATH ${CMAKE_CURRENT_BINARY_DIR} CACHE INTERNAL "") |
diltech | 0:9a306207c5b2 | 8 | set(APP_TARGET mbed-os-example-blinky) |
diltech | 0:9a306207c5b2 | 9 | |
diltech | 0:9a306207c5b2 | 10 | include(${MBED_PATH}/tools/cmake/app.cmake) |
diltech | 0:9a306207c5b2 | 11 | |
diltech | 0:9a306207c5b2 | 12 | add_subdirectory(${MBED_PATH}) |
diltech | 0:9a306207c5b2 | 13 | |
diltech | 0:9a306207c5b2 | 14 | add_executable(${APP_TARGET}) |
diltech | 0:9a306207c5b2 | 15 | |
diltech | 0:9a306207c5b2 | 16 | mbed_configure_app_target(${APP_TARGET}) |
diltech | 0:9a306207c5b2 | 17 | |
diltech | 0:9a306207c5b2 | 18 | project(${APP_TARGET}) |
diltech | 0:9a306207c5b2 | 19 | |
diltech | 0:9a306207c5b2 | 20 | target_sources(${APP_TARGET} |
diltech | 0:9a306207c5b2 | 21 | PRIVATE |
diltech | 0:9a306207c5b2 | 22 | main.cpp |
diltech | 0:9a306207c5b2 | 23 | ) |
diltech | 0:9a306207c5b2 | 24 | |
diltech | 0:9a306207c5b2 | 25 | target_link_libraries(${APP_TARGET} |
diltech | 0:9a306207c5b2 | 26 | PRIVATE |
diltech | 0:9a306207c5b2 | 27 | mbed-os |
diltech | 0:9a306207c5b2 | 28 | ) |
diltech | 0:9a306207c5b2 | 29 | |
diltech | 0:9a306207c5b2 | 30 | mbed_set_post_build(${APP_TARGET}) |
diltech | 0:9a306207c5b2 | 31 | |
diltech | 0:9a306207c5b2 | 32 | option(VERBOSE_BUILD "Have a verbose build process") |
diltech | 0:9a306207c5b2 | 33 | if(VERBOSE_BUILD) |
diltech | 0:9a306207c5b2 | 34 | set(CMAKE_VERBOSE_MAKEFILE ON) |
diltech | 0:9a306207c5b2 | 35 | endif() |