Lines Matching full:build
33 # Compile with default build options:
35 # script/cmake-build ${platform}
37 # Compile with the specified build option enabled:
39 # script/cmake-build ${platform} -D${option}=ON
41 # Compile with the specified build option disabled that already enabled by default:
43 # script/cmake-build ${platform} -D${option}=OFF
45 # Compile with the specified ninja build target:
47 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd" script/cmake-build ${platform}
48 # OT_CMAKE_NINJA_TARGET="ot-cli-ftd ot-cli-mtd" script/cmake-build ${platform}
50 # Compile with the specified build directory:
52 # OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build ${platform}
56 # script/cmake-build simulation
58 # script/cmake-build simulation -DOT_FULL_LOGS=ON -DOT_CHANNEL_MANAGER=OFF
60 # OT_CMAKE_NINJA_TARGET="ot-cli-mtd" OT_CMAKE_BUILD_DIR="./build/temp" script/cmake-build simu…
123 build() function
126 local builddir="${OT_CMAKE_BUILD_DIR:-build/${platform}}"
168 NDK=/opt/android-ndk-r25c ./script/cmake-build-android
176 NDK_CMAKE_TOOLCHAIN_FILE="${NDK?}/build/cmake/android.toolchain.cmake"
191 "-DCMAKE_TOOLCHAIN_FILE=${NDK?}/build/cmake/android.toolchain.cmake"
239 build "${platform}" "${options[@]}"