cmake: include examples after apps modules
This allows you to set dependency for the examples on configured apps libs
This commit is contained in:
parent
10baddee07
commit
b129ddd6e0
@ -43,7 +43,6 @@ add_subdirectory(benchmarks)
|
||||
add_subdirectory(boot)
|
||||
add_subdirectory(canutils)
|
||||
add_subdirectory(crypto)
|
||||
add_subdirectory(examples)
|
||||
add_subdirectory(fsutils)
|
||||
add_subdirectory(games)
|
||||
add_subdirectory(gpsutils)
|
||||
@ -63,6 +62,8 @@ add_subdirectory(system)
|
||||
add_subdirectory(testing)
|
||||
add_subdirectory(wireless)
|
||||
|
||||
# add examples and external at the end to allow library dependencies
|
||||
add_subdirectory(examples)
|
||||
if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/external)
|
||||
add_subdirectory(external)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user