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 <anchao@xiaomi.com>
This commit is contained in:
parent
dab972b907
commit
391b643855
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user