Hi
I recently added a system project to our dual core build.
I wanted to move the post steps up into the system project, but this post step is mainly about copying some output files fro the build into another folder.
However i fail to find a suitable variable to define the location of the build folder of the included sub projects.
And I can't see that it is possible to export variables from dub-project to system-project.
The system-project does have the knowledge of the sub-project location and the active build-configuration, and in the end it's all defined i the same system.xml file.
I am seeking something that looks something like this.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <system> <project configuration="@match" id="project_1" name="GrandProject_CPU1"/> <core id="C28xx_CPU1" project="project_1"/> <project configuration="@match" id="project_2" name="GrandProject_CPU2"/> <core id="C28xx_CPU2" project="project_2"/> <postBuildSteps> <step command="cp ${PROJECT_1_BUILDFOLDER}\fw1.bin ../outfolder" /> </postBuildSteps> </system>
as a minimum
<step command="cp ../GrandProject_CPU1/${BUILD_CONFIG__1}\fw1.bin ../outfolder" />`
Is this possible?
And yes I could hard-code the path, but it would break if user changes build config.