|
Boost-Build : |
Subject: Re: [Boost-build] Visual Studio always calls bjam even on built projects
From: Anatoly Shirokov (shirokov_a_at_[hidden])
Date: 2009-11-28 04:03:41
> On Friday 27 November 2009 00:11:07 Anatoly Shirokov wrote:
>
>> Hi!
>>
>> It seems to me it is not good idea to use makefile based solution. There
>> is a lot of restrictions:
>> - solution know nothing about project structure
>> - solution know nothing about project dependencies
>> - solution know nothing about macro definitions
>> - solution know nothing about search path for include and library files
>> - to add/remove a file you have to do it twice for solution and for jamfile
>
> I have no idea what half of the above means, but I am sure several
> Vistual Studio users were OK with the way Boost.Build can be integrated into it.
I can explain all what I mean:
- solution know nothing about project structure
To navigate through sources you have to add source list manually to
visual studio project (to add/remove a source we have to do it twice for
a project and a jamfile)
- solution know nothing about project dependencies
In visual studio project I cannot see projects that influence my
project and navigate through them
- solution know nothing about macro definitions
The modern studio can "grayed" code with conditional compilation which
does not meet preprocessor conditions. To do it the studio must have all
macro definitions. As a result we have to copy all marco definitions
from jamfile to studio project (to add/remove marco denition we have to
do it twice).
- solution know nothing about search path for include and library files
To navigate through sources I have to set search paths manually for my
libraries from dependency list.
In jamfile there are all needed information, but there is no way to
extract it automaticly. It would be perfect if bjam will be able to
generate native studio solutions. I vote for such feature.
> It would be nice if somebody give a step-by-step procedure.
It would be interesting, but I doubt that it will be automated procedure.
With Best Regards,
Anatoly Shirokov
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk