From: Francesco M. <f18...@ya...> - 2005-07-06 18:45:09
|
Hi, John Labenski wrote: > How do people write dsw files to include projects to be build from an > arbitrary wxCode dir? > > I've tried to set the environment variable > $(WXCODE)=c:\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"=$(WXCODE)\components\wxsheet\src\sheetlib_wx26.dsp > - Package Owner=<4> > > Package=<5> > {{{ > }}} > > Package=<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 if you are using $(WXCODE)=c:\wxCVS\wxCode\wxCode (i.e. an absolute path for wxCode) otherwise when that var is expanded, you get an invalid path. Francesco 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... |