Make examples standalone buildable via CMake

This commit is contained in:
graham sanderson
2021-06-10 10:11:20 -05:00
parent b34724215b
commit fd7b18a4f6
26 changed files with 101 additions and 97 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/${FAMILY}/family.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
# gets PROJECT name for the example (e.g. <BOARD>-<DIR_NAME>)
family_get_project_name(PROJECT ${CMAKE_CURRENT_LIST_DIR})