[build] How do I get my trial project to use b2 correctly?

I'm trying out GitHub for the first time. I have a new project thatis supposed to reference my Boost-SVN tree for both the Boostheaders and its build system. I copied the project structure,including Jamfiles, from John Maddock's Multiprecision trial library.I don't think I did it right because calling "b2" doesn't do anything.At first, I got directory errors because it couldn't find my Boost tree.(The "../Trunk" alias doesn't work. Is it because I'm an extradirectory away?) Then I defined "BOOST" in my shell, so "b2" canfind the tree. I just get "1 target found" notices without anythinghappening. I know nothing's being compiled because I called it fortool-sets that aren't C++11-enabled and the build just ends withouterror on my C++11 code. My directories are like: + MyProjects++ boost-trunk++ Trunk (aliased to "boost-trunk")++ Unionize (a Git clone of my project on GitHub) Does anyone want to take a look and see how I have to fix my buildfiles? The project is at "https://github.com/CTMacUser/Unionize". Daryle W.

On 7 May 2012 16:03, Daryle Walker
Does anyone want to take a look and see how I have to fix my build files? The project is at "https://github.com/CTMacUser/Unionize".
There aren't any targets in the 'libs/unions' directory, if you run b2 from the test directory (with BOOST set) it should work. If you want to run tests from 'libs/unions' you can add this to your Jamroot.jam: build-project test ; Which tells it to run boost build for the jamfile in the test directory, although it isn't conventional to have b2 run the tests from anything but the test directory.
participants (2)
-
Daniel James
-
Daryle Walker