Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compiling a single file
From: George Georgiev (george.georgiev.sf_at_[hidden])
Date: 2012-04-13 22:59:48


I have jam projects integrated with Visual Studio. I have most of the
perks that Visual Studio offers like intelliSense, goto location,
debugging integration, browsers etc. The way I do it is:

1. I create - code project - i use a simple C# application, similar to
this bat file.
1a. Note it adds all project directories and external ones if needed
as additional include paths to the project
2. The project is added to solution, but it configurations are
excluded from the build.
3. I create manually nmake project(s) where I specify different build commands
4. These projects are part of the solution and they are buildable
5. I create again manually utility project(s) and I set output
directory to the intermediate directory jam creates and as target(s)
the applications, unit test executables etc.
6. I add these project to the solution and disable them for building.
7. I create the necessary dependencies.

This setup allows me to have most of the perks Visual Studio offers.
When I need to debug an application I just make as a startup the
utility project that represent it and I can use F5 as I will do if it
was a regular VS project.

It does not support build the current cpp file though.

Note for Visual Studio 10 you need to add /FC compiler option else
goto location does not work.


On Fri, Apr 13, 2012 at 5:14 PM, Mateusz Loskot <mateusz_at_[hidden]> wrote:
> On 13 April 2012 19:35, Nogradi, Chris <Chris.Nogradi_at_[hidden]> wrote:
>>> I only use VS as an editor for the joys of Intellisense... when it works. :)
>> Do you manually create your VS project to get Intellisense support?
> I'm curious too.
> I suppose, there is some custom script/tool involved.
> BTW, here is simple .BAT script which generates VS project
> for fairly large library project:
> Best regards,
> --
> Mateusz Loskot,
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at