From: John L. <jla...@gm...> - 2005-07-06 19:11:19
|
On 7/6/05, Francesco Montorsi <f18...@ya...> wrote: > > I've tried to set the environment variable > > $(WXCODE)=3Dc:\wxCVS\wxCode\wxCode and then use it like this in a dsw > > file for a project that will link to a number of different libraries. > >########################################################################= ####### > > Project: "wxSheetLib_wx26"=3D$(WXCODE)\components\wxsheet\src\sheetlib_= wx26.dsp > > - Package Owner=3D<4> ###########################################################################= #### > > > > When I start MSVS it complains about not being able to find > > c:\wxCVS\Plotto\$(WXCODE)\components\wxsheet\src\sheetlib_wx26.dsp > > The first part of the dir "c:\wxCVS\Plotto\" is the location of the > > dsw file that was loaded (putting quotes around it doesn't do > > anything). If I go back to relative paths it works just fine. Is there > > a way to make it use absolute paths so that the $(WXCODE) env var can > > be set once and work for any project in any directory? > I'm not sure to understand what you want to do... but I think that > c:\wxCVS\Plotto\$(WXCODE)\components\wxsheet\src\sheetlib_wx26.dsp > should be changed to > $(WXCODE)\components\wxsheet\src\sheetlib_wx26.dsp Maybe I wasn't clear, MSVS is adding the path that the dsw file was opened in all by itself! You'll see that above I specify the directory of wxsheetlib_wx26.dsp file without the "c:\wxCVS\Plotto". I need a way to make MSVS to open this as an absolute path. (not relative to the dsw file that contains this line) Project: "wxSheetLib_wx26"=3D$(WXCODE)\components\wxsheet\src\sheetlib_wx26= .dsp =20 > PS: can you chmod the readme.txt in /home/groups/w/wx/wxcode/htdocs so > that anyone of the wxCode group can access it (chmod g+rwx readme.txt) ? > I'll update it... Done. You mean chmod g+rw, right? I notice that just about all the files are executable, it's probably best to -x any of them that aren't scripts. -John Labenski |