Re: From bakefile to msvs2088prj [long]

Václav Slavík <[email protected]> Thu, 31 Dec 2009 14:09:59 +0100
Newsgroups gmane.comp.sysutils.bakefile.devel
Message-ID <[email protected]>
Hi,

On Dec 31, 2009, at 09:09, Mauro Ziliani wrote:
> <template id="base">
...
| <set-srcdir>$(id)</set-srcdir>
> 
> </template>
> 
> But into vcproj files the SRCDIR is <built-in function id> and not the 
> folder of the subproject.
> 
> Any idea?

SRCDIR is global setting, not per-target one. You only set it once, as early as possible. You should be able to use $(fileList(id+'/*.cxx')) instead (untested).

Vaclav
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev