Lines Matching +full:- +full:- +full:json
7 # When invoked as a script with -P:
8 # cmake [options] -P verify-toolchain.cmake
11 # FORMAT=json: Print the output as a json formatted string, useful for Python
16 message(FATAL_ERROR "verify-toolchain.cmake is a script and must be invoked "
17 "as:\n 'cmake ... -P verify-toolchain.cmake'\n"
21 if("${FORMAT}" STREQUAL "json")
32 if("${FORMAT}" STREQUAL "json")
33 set(json "{\"ZEPHYR_TOOLCHAIN_VARIANT\" : \"${ZEPHYR_TOOLCHAIN_VARIANT}\", ") variable
34 string(APPEND json "\"SDK_VERSION\": \"${SDK_VERSION}\", ")
35 string(APPEND json "\"ZEPHYR_SDK_INSTALL_DIR\" : \"${ZEPHYR_SDK_INSTALL_DIR}\"}")
36 _message("${json}")