List Info

Thread: Re: Future development




Re: Future development
country flaguser name
United States
2007-10-12 18:54:38
Larry Evans wrote:
> On 10/12/07 15:33, Larry Evans wrote:
> [snip]
> 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.
>
CMAKE_CXX_COMPILER:FILEPATH=/home/evansl/download/gcc/4.3-20
071005/install/bin/g++ 
>
>
> //First argument to CXX compiler
> CMAKE_CXX_COMPILER_ARG1:STRING= -std=gnu++0x 
>
-I/home/evansl/prog_dev/boost-cvs/ro/boost/sandbox/variadic-
templates
I did not see this before I answered...  At least I answered
correctly. 
   

You should also be able to do this:

cmake -DCMAKE_CXX_COMPILER=/home/evansl/download/gcc/
4.3-20071005/install/bin/g++ -DCMAKE_CXX_COMPILER_ARG1=
   -std=gnu++0x
  
-I/home/evansl/prog_dev/boost-cvs/ro/boost/sandbox/variadic-
templates

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:

CMAKE_CXX_COMPILER:FILEPATH=/home/evansl/download/gcc/4.3-20
071005/install/bin/g++ 

CMAKE_CXX_COMPILER_ARG1:STRING= -std=gnu++0x 
-I/home/evansl/prog_dev/boost-cvs/ro/boost/sandbox/variadic-
templates

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.

-Bill

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

Re: Future development
country flaguser name
United States
2007-10-12 21:02:15
Bill Hoffman wrote:
> 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.

For your info... An example user-config.jam 
<http://beta.boost.org/development/tests/trunk
/RSI%20Droid.html>. It's 
the one I use on the Linux test machine.


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Future development
country flaguser name
United States
2007-10-12 21:58:28
On 10/12/07 18:54, Bill Hoffman wrote:
[snip]
> You should also be able to do this:
> 
> cmake -DCMAKE_CXX_COMPILER=/home/evansl/download/gcc/
> 4.3-20071005/install/bin/g++
-DCMAKE_CXX_COMPILER_ARG1=
>    -std=gnu++0x
>   
-I/home/evansl/prog_dev/boost-cvs/ro/boost/sandbox/variadic-
templates
> 
> That should have the same effect without having to use
a shell variable.

I tried that, but it didn't work.  The resulting
CMakeCache.txt didn't 
have the MAKE_CXX_COMPILER_ARG1 entry.  The bash script I
used is
attached.

[snip]

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

  
[1-3]

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