2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2017-10-27 21:43:34 +08:00
|
|
|
add_custom_target(
|
|
|
|
usage
|
2018-04-25 15:17:18 +08:00
|
|
|
${CMAKE_COMMAND}
|
2020-02-25 18:42:00 +08:00
|
|
|
-DZEPHYR_BASE=${ZEPHYR_BASE}
|
|
|
|
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
|
2018-04-25 15:17:18 +08:00
|
|
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/usage.cmake
|
2017-10-27 21:43:34 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
# NB: The reason it is 'usage' and not help is that CMake already
|
|
|
|
# defines a target 'help'
|