Hi,
I am trying to import an xml for enabling a pre-processor define in the project but it fails. I dont see any error on the commandline, but the build also does not run.
XML file contents: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <Project> <CDefines>ARM_MATH_ENABLE</CDefines> </Project>
Command used: UV4.exe -b <Project filename> -i <xml_filename>
Any help for above or inputs to enable a pre-processor directive from command line is appreciated.
Thanks
Thanks Matthias, for such a quick response.
I am not actually building it for different targets, I am only enabling/disabling some part of code. Which I want to build through some automated build scripts with different .xml's as inputs.
It would be misleading for others if I define them as different targets.
Thanks again.
Different targets doesn't require different target hardware - it works just as well for building different variants of the code with features added/removed.
The compiler doesn't care what you decide a target to be - but you can build multiple targets.
Have your build script make a temporary project file into which you substitute your own list of defines, and submit that for building.