$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] Visual Studio always calls bjam even on built projects
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-11-25 04:32:48
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