@echo off
cd /D C:\nordic\ncs_samples_local\lpuart_test\build_5340 || (set FAIL_LINE=2& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo adafruit_2_8_tft_touch_v2 || (set FAIL_LINE=3& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo adafruit_2_8_tft_touch_v2_nano || (set FAIL_LINE=4& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo adafruit_winc1500 || (set FAIL_LINE=5& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx || (set FAIL_LINE=6& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx_arduino || (set FAIL_LINE=7& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx_legacy || (set FAIL_LINE=8& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx_mikrobus || (set FAIL_LINE=9& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx_xplained || (set FAIL_LINE=10& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo atmel_rf2xx_xpro || (set FAIL_LINE=11& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo boostxl_ulpsense || (set FAIL_LINE=12& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo buydisplay_2_8_tft_touch_arduino || (set FAIL_LINE=13& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo buydisplay_3_5_tft_touch_arduino || (set FAIL_LINE=14& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo dac80508_evm || (set FAIL_LINE=15& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo dfrobot_can_bus_v2_0 || (set FAIL_LINE=16& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo esp_8266 || (set FAIL_LINE=17& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo esp_8266_arduino || (set FAIL_LINE=18& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo esp_8266_mikrobus || (set FAIL_LINE=19& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo frdm_cr20a || (set FAIL_LINE=20& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo frdm_kw41z || (set FAIL_LINE=21& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo frdm_stbc_agm01 || (set FAIL_LINE=22& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ftdi_vm800c || (set FAIL_LINE=23& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo inventek_eswifi || (set FAIL_LINE=24& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo inventek_eswifi_arduino_spi || (set FAIL_LINE=25& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo inventek_eswifi_arduino_uart || (set FAIL_LINE=26& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo keyestudio_can_bus_ks0411 || (set FAIL_LINE=27& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo link_board_eth || (set FAIL_LINE=28& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo lmp90100_evb || (set FAIL_LINE=29& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ls013b7dh03 || (set FAIL_LINE=30& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo mikroe_adc_click || (set FAIL_LINE=31& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo mikroe_eth_click || (set FAIL_LINE=32& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo semtech_sx1272mb2das || (set FAIL_LINE=33& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo sh1106_128x64 || (set FAIL_LINE=34& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo sparkfun_sara_r4 || (set FAIL_LINE=35& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ssd1306_128x32 || (set FAIL_LINE=36& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ssd1306_128x64 || (set FAIL_LINE=37& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo ssd1306_128x64_spi || (set FAIL_LINE=38& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo st7735r_ada_160x128 || (set FAIL_LINE=39& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo st7789v_tl019fqv01 || (set FAIL_LINE=40& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo st7789v_waveshare_240x240 || (set FAIL_LINE=41& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo v2c_daplink || (set FAIL_LINE=42& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo v2c_daplink_cfg || (set FAIL_LINE=43& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdeh0154a07 || (set FAIL_LINE=44& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdeh0213b1 || (set FAIL_LINE=45& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdeh0213b72 || (set FAIL_LINE=46& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdeh029a1 || (set FAIL_LINE=47& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdew042t2 || (set FAIL_LINE=48& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo waveshare_epaper_gdew075t7 || (set FAIL_LINE=49& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo wnc_m14a2a || (set FAIL_LINE=50& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_53l0a1 || (set FAIL_LINE=51& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_eeprma2 || (set FAIL_LINE=52& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_idb05a1 || (set FAIL_LINE=53& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks01a1 || (set FAIL_LINE=54& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks01a2 || (set FAIL_LINE=55& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks01a2_shub || (set FAIL_LINE=56& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks01a3 || (set FAIL_LINE=57& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks01a3_shub || (set FAIL_LINE=58& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks02a1 || (set FAIL_LINE=59& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks02a1_mic || (set FAIL_LINE=60& goto :ABORT)
C:\toolchains\v2.0.0\opt\bin\cmake.exe -E echo x_nucleo_iks02a1_shub || (set FAIL_LINE=61& goto :ABORT)
goto :EOF

:ABORT
set ERROR_CODE=%ERRORLEVEL%
echo Batch file failed at line %FAIL_LINE% with errorcode %ERRORLEVEL%
exit /b %ERROR_CODE%