Patrick Gelin wrote:
In this case it should work.    Can you create a small cmake test file:
----CMakeLists.txt:---
add_library(foo foo.c)
------end CMakeLists.txt-----
put that in a directory by itself.  Then do this:
touch foo.c
mkdir b
cd b
cmake ..

And post all the output.

it's ok...

[EMAIL PROTECTED]:~/test$ ls
CMakeLists.txt  foo.c
[EMAIL PROTECTED]:~/test$ mkdir b
[EMAIL PROTECTED]:~/test$ cd b
[EMAIL PROTECTED]:~/test/b$ cmake ..
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gelinp/test/b

So I've just find out the problem. There was a bad CMakeCache.txt downloaded
with the project and incluing a bad path to g++... I erased it and now it's
funy!
Thank you very much for your help!
Can you create a bug report with a feature request? The bug is compiler has moved CMake should warn...

Thanks.

-Bill

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

Reply via email to