Boost logo

Boost-Build :

Subject: Re: [Boost-build] Visual Studio always calls bjam even on built projects
From: Christian Auby (christian_at_[hidden])
Date: 2009-11-25 05:28:31


Well, when I hit "debug" it does debug it. so surely it must know where
the executable is. But I will experiment a bit.

thanks,

Christian

Johan Nilsson wrote:
> Christian Auby wrote:
>> When I start debugging VS says "This project is out of date" even if I
>> just built everything. Doesn't matter if I say yes or no, debug still
>> works as the exe was built previously.
>
> I'd guess that Visual Studio does not know where your actual target
> executable resides, and thus can't check its timestamp.
>
>>
>> Makefile project with build command:
>> "bjam toolset=msvc --without-python -j2"
>
> This might help: Try going to "Project/Properties/Configuration
> Properties/NMake" and set "Output" to the full path of the target
> executable. Should be something like e.g. <project root>\bin\<your
> target>\msvc-x.x\debug\threading-multi\<your target>.exe" for the debug
> configuration. Similar for release variant.
>
> (The above is for VS 2008, should be similar for other versions)
>
> HTH / Johan
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


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