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

@@ -4,7 +4,7 @@ set(TOP "../../..")
get_filename_component(TOP "${TOP}" REALPATH)
if (EXISTS ${TOP}/lib/lwip/src)
include(${TOP}/hw/bsp/${FAMILY}/family.cmake)
include(${TOP}/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})