Re: [CMake] Building Boost as an ExternalProject

2017-10-03 Thread Knox, Kent
Hi Michael~ > That does seem to be the rub, at least on a Windows build. Something about > ExternalProject_Add ain't quite kosher with what the Boost build system > expects and it needs a little help. > Using ExternalProject_Add, it succeeds, to a point. Then it falls over > looking for b2 no

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Michael Powell
On Mon, Oct 2, 2017 at 4:54 PM, paul wrote: > For building boost with cmake you can use this cmake script: > > https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake > > You can drop it in at the top of the boost tree and it will build Boost.Build > and then build boost with b2. This w

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread paul via CMake
For building boost with cmake you can use this cmake script: https://github.com/pfultz2/cget/blob/master/cget/cmake/boost.cmake You can drop it in at the top of the boost tree and it will build Boost.Build and then build boost with b2. This will map the cmake toolchain to the boost toolchain so t

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Michael Powell
On Mon, Oct 2, 2017 at 3:58 PM, Jacob Barrett wrote: > The Apache Geode Native project is building Boost as an external project. > You may want to look at our setup for inspiration. It builds correction on > Windows with VS, Solaris x86 and SPARC with Solaris Studio, Linux with GCC > and OS X with

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Jacob Barrett
The Apache Geode Native project is building Boost as an external project. You may want to look at our setup for inspiration. It builds correction on Windows with VS, Solaris x86 and SPARC with Solaris Studio, Linux with GCC and OS X with Xcode.Right now we are purely header only so if you need some

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Michael Powell
On Mon, Oct 2, 2017 at 3:06 PM, Michael Powell wrote: > On Mon, Oct 2, 2017 at 2:34 PM, Michael Powell wrote: >> Hello, >> >> This question has been raised from time to time I think. I am trying >> to build Boost as an ExternalProject, but I am ending up with an >> error: 'cmd.exe' returned with

Re: [CMake] Building Boost as an ExternalProject

2017-10-02 Thread Michael Powell
On Mon, Oct 2, 2017 at 2:34 PM, Michael Powell wrote: > Hello, > > This question has been raised from time to time I think. I am trying > to build Boost as an ExternalProject, but I am ending up with an > error: 'cmd.exe' returned with exit code 1. Along these lines. >From the Boost VC project fi

[CMake] Building Boost as an ExternalProject

2017-10-02 Thread Michael Powell
Hello, This question has been raised from time to time I think. I am trying to build Boost as an ExternalProject, but I am ending up with an error: 'cmd.exe' returned with exit code 1. Along these lines. Perhaps I have involved one too many variables, but I doubt it. Ignore the cross-plat stuff,