This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Environment variables

How do I use system environment variables to specify a path to a source file?

Parents
  • For uVision to be able to handle 'industrial stength builds', it will need to add ther possibility of running .bat files at strategis places.

    uVision2 has the ability to run .BAT or any other program file anywhere in the project build process. All you have to do is add the program file to the project and move it where you want it to run. The only tricky part is that you must specify the program path and name in the arguments line on the custom translator dialog.

    Jon

Reply
  • For uVision to be able to handle 'industrial stength builds', it will need to add ther possibility of running .bat files at strategis places.

    uVision2 has the ability to run .BAT or any other program file anywhere in the project build process. All you have to do is add the program file to the project and move it where you want it to run. The only tricky part is that you must specify the program path and name in the arguments line on the custom translator dialog.

    Jon

Children
  • "but beyond that it is worthless"

    I wouldn't go as far as "worthless," but uVision's Project management facilities certainly do have serious limitations - as I have mentioned on this forum several times before; eg

    * There is no way to specify options common to more than one Target;

    * It is not possible to re-order the Groups within a Project.
    This one is unforgivable, as the order of things within a Project defines the order in which they're done!

    * There is no way to specify dependencies for Custom Translators - it's just "Always Build" or "Never Build".
    It would be useful if there was at least the option to right-click a file or Group and choose to rebuild (translate) that item - currently, if you've unchecked 'Include in Build' you can't even "manually" trigger a rebuild of the item :-(

  • "but beyond that it is worthless"
    I wouldn't go as far as "worthless"

    well, the key phrase is "beyond that".

    I am bulding 7 different executables based on mainly the same source and that is "beyond that"

    Erik