[CMake] newbie: find_package Boost ceases to work when mixed with CLang CMAKE_TOOLCHAIN_FILE (on Ubuntu 64bit Quantal 12.10)

2012-12-28 Thread ahoros
I must be missing something very, very obvious about default paths - but I think I tried every possible option... I have following cmake commands: SET(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH};/usr/include/;/usr/local/include/;/usr/include/boost/) SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH

Re: [CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Jed Brown
On Fri, Dec 28, 2012 at 3:29 PM, Rolf Eike Beer wrote: > Changing the compiler usually will not work anyway. That's why we have > separate build trees: wipe the whole thing and start again. > Yes, I have a habit of runnning rm -rf * && cmake -DNEW_OPTIONS .. because changing cache variables (e

Re: [CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Rolf Eike Beer
Jed Brown wrote: > On Fri, Dec 28, 2012 at 2:52 PM, Rolf Eike Beer wrote: > > Don't specify the compiler like this: > > > > CC=clang cmake . > > I'm not looking for a work-around [*], I'm looking for the problem to be > fixed so it stops blowing up in users' faces. The fact is that > (a) -DCMAKE_C

Re: [CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Jed Brown
On Fri, Dec 28, 2012 at 2:52 PM, Rolf Eike Beer wrote: > Don't specify the compiler like this: > > CC=clang cmake . > I'm not looking for a work-around [*], I'm looking for the problem to be fixed so it stops blowing up in users' faces. The fact is that (a) -DCMAKE_C_COMPILER is an established a

Re: [CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Rolf Eike Beer
Jed Brown wrote: > $ echo 'project (Test C)' > CMakeLists.txt > $ cmake -DCMAKE_C_COMPILER:FILEPATH=clang . > -- The C compiler identification is Clang 3.1.0 > -- Check for working C compiler: /usr/bin/clang > -- Check for working C compiler: /usr/bin/clang -- works > -- Detecting C compiler ABI i

Re: [CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Matthew Woehlke
On 2012-12-28 14:56, Jed Brown wrote: $ echo 'project (Test C)' > CMakeLists.txt $ cmake -DCMAKE_C_COMPILER:FILEPATH=clang . -- The C compiler identification is Clang 3.1.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C com

[CMake] Infinite loop with cmake-2.8.10.2

2012-12-28 Thread Jed Brown
$ echo 'project (Test C)' > CMakeLists.txt $ cmake -DCMAKE_C_COMPILER:FILEPATH=clang . -- The C compiler identification is Clang 3.1.0 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler A

[CMake] MSYS and Intel Fortran/MSVC/C++

2012-12-28 Thread Arjen Markus
Hello, I am trying to use the MinGW/MSYS environment on Windows (XP) together with the MS Visual C/C++ and Intel Fortran compiler. I need the MSYS environment because after building the programs there is a whole bunch of tests that have to be run and the MinGW/MSYS environment offers the tools fo