This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is the version of embuild.exe delivered with the NRF Connect version of SES any use?

Normally with Segger Embedded Studio if you want to do a command-line build you use embuild.exe instead of emstudio.exe and away you go.

However, the NRF Connect/Zephyr world has ended up using CMake and not a Segger Embedded Studio project file, which seems strange as Segger Embedded Studio is your chosen/promoted IDE!  And, more to the point, as far as I can tell the version of embuild.exe that sits just beside emstudio.exe in your NRF Connect-specific SES delivery does NOT support opening a CMakeLists.txt file.

Is that correct?  It is not possible to do a command-line build with Segger Embedded Studio in the new NRF Connect world, one has to go and use yet another SDK-specific build thing in the form of "west", whatever that may be?  Please tell me no, tell me I've just missed an option to embuild.exe.  The command-line help has a mysterious additional "usage" section that it spits out after the normal "usage" section which says:

Usage: emBuild [option] -template 'name' -project 'name'
       emBuild [option] -type 'type' -project 'name'

-template 'name' create the project from the template 'name'
-type 'type' create the project from the project 'type'
-file 'name' add file 'name' to template-created project
-property 'name'='value' set project property 'name' to 'value'

...but it doesn't say anything useful about the -template, -type, -file and -property options.

Related