[CMake] Setting variables in CMakeLists.txt

barcaroller barcaroller at sympatico.ca
Sat May 2 08:51:35 EDT 2009


"Eric Noulard" <eric.noulard at gmail.com> wrote 
in message 
news:cbe23c50905020426k2168c820ub9a0f31f738d924e at mail.gmail.com...

>Did you check that your source tree has been properly clean from
>any files after your [may be first] in-source try?
>
>You should delete,
>   CMakeCache.txt
>any CMakeFiles/ directories
>and any other possibly generated file.
>
>May be you can try to build a small example project which exhibits
>the issue and mail it on the list, thus other may try to reproduce the 
>issue?


Yes, if you read my first post you will see that I do a 'rm -f -r *' in the 
'build' directory to completely remove all cache files/directories, along 
with all object files and binaries.

The first post also shows what my little sample project looks like (one 
'src' and one 'build' directory).





More information about the CMake mailing list