Is there any possibility in IAR to add additional project variable like $PROJ_DIR$
to specify my project environment?
I like to keep my project portable and adaptable.
Is there any possibility in IAR to add additional project variable like $PROJ_DIR$
to specify my project environment?
I like to keep my project portable and adaptable.
As a caution, if you are IarBuild.exe to build from the command line, the workspace or global values set from "Configure Custom Arguments Variables" are not included in the project files (.ewp) and thus is not expanded by IarBuild.exe at build time. This is not an issue if you only use the IDE to build.
I found a reason for my problem (but it givs another one):
I define a windows "path-variable" like LIB_PATH
and put it in the IAR project file with $_LIB_PATH_$
.
This works as long until i save the IAR-project. Then IAR sets all paths realive to $PROJ_DIR$
:-(
If you go to Tools > Configure Custom Argument Variables you can add variables that you can address with $VARIABLE_NAME$. Not sure if that's exactly what you were looking for.
Of course there are, according to the manuals:
Variable / Description