List Info

Thread: Build-project and relative paths.




Build-project and relative paths.
user name
2007-03-22 03:19:58
Hello!

I've just tried the boost build system v2, and I like it!
But I
haven't succeeded looking for answers in the web. My current
problem
is with unit testing.

Let's suppose I have a project structure:
/foo          # tested prject
   Jamroot
   /test      # testing code
      Jamfile

I'd like to have the /foo/test built every time I build the
foo
itself. So I put the line
build-project test ;
in my Jamroot. Nice. But many tests use relative paths to
local files.
So when I run bjam in the directory /foo/test, everything
works well,
but when I do this within /foo, no local file is found. As
I
understand, the current directory is /foo in the latter
case.

What would you suggest me to the problem?

-- Anatoli Sakhnik.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )