Phil Pellouchoud wrote:
-----Original Message-----
From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2008 11:43 AM
To: Phil Pellouchoud
Cc: [email protected]
Subject: Re: [CMake] trouble with cmake 2.6-patch 0 cross compiling.



What output do you get when you run cmake?

rm -rf *
cmake -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake ..

[phil]
$ rm -rf * && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake .. && make
&& ./helloworld
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/slacker/helloworld/build
Scanning dependencies of target helloworld
[100%] Building CXX object CMakeFiles/helloworld.dir/helloworld.cpp.obj
Linking CXX executable helloworld
[100%] Built target helloworld
hello world

$

Can you try this:

rm -rf * && cmake -DCMAKE_TOOLCHAIN_FILE=foobar

Also, cmake --version.

-Bill
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to