Hi @MVR ,
Eclipse CDT has a feature called headless build - this feature offer the option clean/build projects from workspace and also to import from command line an existing project. Since S32DS is eclipse based this feature can be used. How to use it - browse to S32DS eclipse folder and run eclipsec.exe from a command line (or batch script even python) with next parameters mandatory:
eclipsec.exe -noSplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild --launcher.ini s32ds.ini -data /path/to/workspace
You can add to the command, the next options:
* Import projects: -import {[uri:/]/path/to/project}
* Import all projects in the tree: -importAll {[uri:/]/path/to/projectTreeURI}
* Build projects / the workspace: -build {project_name_reg_ex/config_name_reg_ex | all}
* Clean build projects / the workspace: -cleanBuild {project_name_reg_ex/config_name_reg_ex | all}
* Add Include path to build: -I {include_path}
* Add Include file to build: -include {include_file}
* Add preprocessor define to build: -D {prepoc_define}
* Replace environment variable in build: -E {var=value}
* Append environment variable to build: -Ea {var=value}
* Prepend environment variable to build: -Ep {var=value}
* Remove environment variable in build: -Er {var}
* Replace a tool option value: -T {toolid} {optionid=value}
* Append to a tool option value: -Ta {toolid} {optionid=value}
* Prepend to a tool option value: -Tp {toolid} {optionid=value}
* Remove a tool option: -Tr {toolid} {optionid=value}
I hope this info helps!
Best regards,
Alexandra