Is there a way to add a pre-build command in NRF Connect for VS Code?
Is there a way to add a pre-build command in NRF Connect for VS Code?
Update - I've partially achieved my goal by adding this to CMakeLists.txt:
execute_process(COMMAND gen_build_info_header.bat .\\ .\\src\\build_info.h)
However, this will only execute with a clean build and I need it to execute on every build.
Update - I've partially achieved my goal by adding this to CMakeLists.txt:
execute_process(COMMAND gen_build_info_header.bat .\\ .\\src\\build_info.h)
However, this will only execute with a clean build and I need it to execute on every build.
Hi,
You can add or customize tasks following this guide: Manually adding and customizing tasks.
Best regards,
Marte