From: Bill Hoffman (bill.hoffman_at_[hidden])
Date: 2007-10-12 19:54:38
Larry Evans wrote:
> On 10/12/07 15:33, Larry Evans wrote:
> There is a workaround. Running the attached bash shell file with no
> CMakeCache.txt file present, results in a new CMakeCache.txt with:
> //CXX compiler.
> //First argument to CXX compiler
> CMAKE_CXX_COMPILER_ARG1:STRING= -std=gnu++0x
I did not see this before I answered... At least I answered correctly.
You should also be able to do this:
That should have the same effect without having to use a shell variable.
I guess you could do this as well:
Create a CMakeCache.txt that this contents:
Put that into an empty directory and run cmake with a path to the source.
An initial cache file could be the same as the
user-config.jam file. I have not used jam, but I assume you have one
of these per compiler. You could have an initial CMakeCache.txt for
each of the compilers you use for cmake.
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