I would like to be able to add a directory path to a path list and have it not add the path if it was already in the list.
For example
Adding : C:\MyStuff\Lib
To : $(BDS)\Include\Indy10;$(BDS)\Lib\Indy10
Would become : C:\MyStuff\Lib;$(BDS)\Include\Indy10;$(BDS)\Lib\Indy10
and
Adding : C:\MyStuff\Lib
To : C:\MyStuff\Lib;$(BDS)\Include\Indy10;$(BDS)\Lib\Indy10
Would remain : C:\MyStuff\Lib;$(BDS)\Include\Indy10;$(BDS)\Lib\Indy10
I know you could do this via some script, but having it as an action would be a usefull little time saver.
Chris
thanks for the suggestion Chris. We probably wouldn’t create a new action for this, but it could be rolled into the Set Variable action (with a different modifier).