This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit b129ddd6e072986e711a5269a650108680ddf00d
Author: raiden00pl <[email protected]>
AuthorDate: Wed Jul 19 10:35:38 2023 +0200

    cmake: include examples after apps modules
    
    This allows you to set dependency for the examples on configured apps libs
---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ead8b8bc9..e605de9d8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()

Reply via email to