This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 391b64385 apps/cmake: add some note on cmake header
391b64385 is described below
commit 391b6438558067b618fb015afab4180c12301162
Author: chao an <[email protected]>
AuthorDate: Mon Jul 10 09:37:27 2023 +0800
apps/cmake: add some note on cmake header
| # Important note:
| # This CMakeLists.txt is not meant as a top-level CMakeLists.txt. Instead,
| # CMake must be run using the top-level CMakeLists.txt from the nuttx
| # repository and point to this directory via NUTTX_APPS_DIR. For example:
| # cmake -S <nuttx-dir> -B <build-dir> [...] -DNUTTX_APPS_DIR=<apps-dir>
Signed-off-by: chao an <[email protected]>
---
CMakeLists.txt | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dbe06949d..2b54a3fcb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,14 @@
#
#
##############################################################################
+# ~~~
+# Important note:
+# This CMakeLists.txt is not meant as a top-level CMakeLists.txt. Instead,
+# CMake must be run using the top-level CMakeLists.txt from the nuttx
+# repository and point to this directory via NUTTX_APPS_DIR. For example:
+# cmake -S <nuttx-dir> -B <build-dir> [...] -DNUTTX_APPS_DIR=<apps-dir>
+# ~~~
+
if(CONFIG_APPS_DIR)
nuttx_add_library(apps)
if(NOT EXISTS {NUTTX_APPS_BINDIR}/dummy.c)