Skip to main content
GKove
Associate
January 23, 2019
Solved

Command line operations with the SPC5Studio

  • January 23, 2019
  • 3 replies
  • 1475 views

Hi,

With SPC5Studio 5.8.1, is there a command line option to generate the SPC5 application? Or a headless way to generate and build the project?

I'm looking into non-GUI interactions with the environment so that generation and building can be scripted.

I'll appreciate any information about this.

Best regards,

Gregory

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello Gregory ,

    It is a good question

    I think that you can use RCPTT or a project like

    https://code.google.com/archive/p/headlesseclipse/

    I am looking an Alternative for your problematic

    Best Regards

    Erwan

    3 replies

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    January 23, 2019

    Hello Gregory ,

    It is a good question

    I think that you can use RCPTT or a project like

    https://code.google.com/archive/p/headlesseclipse/

    I am looking an Alternative for your problematic

    Best Regards

    Erwan

    madanAde
    Visitor II
    July 9, 2019

    Hi Gregory,

    I am also looking for non-GUI compilation for SPC studio project, Have you successful with the command line setup? I appreciate if you can share any more information, thanks

    GKove
    GKoveAuthor
    Associate
    July 9, 2019

    I didn't find any way to generate the project files using CLI, but once it's generated, I could work with the generated makefiles and sources.

    NMazz.1
    Associate
    January 11, 2021

    I found placing this in a batch file gets it to work

    C:/SPC5Studio/eclipse/SPC5Studio.exe --launcher.suppressErrors -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\spc5_headlessBuilds" -import "%cd%" -build *