I have a variable defined in autoexec.bat like this:

SET WXWIN = C:/WX2

I want to add a directory to Project->Options->Dirs->Includes : $(WXWIN)/include but this doesnt work
If I do similar thing in Project->Options->Dirs->Libraries it DOES work!

I think the problem is in the makefile generator. It doesnt add my directory to the INCS variable. I guess it does some checking if the directory is correct and it assumes that $(WXWIN)/include isnt.

If I add directory c:/wx2/include it does work but it it sucks if someone would want to compile my project on another PC.

Any suggestions?

regards kr33z