mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue