[Cmake] CMake, first steps

Bill Hoffman bill . hoffman at kitware . com
Wed, 23 Jul 2003 14:55:36 -0400


If you could post the CMakeLists.txt files, or send them to me, I would
like to verify if this is a bug.   There are several known bugs that
can produce this message:

1. The source directory that you give does not have a CMakeLists.txt file.

2. A problem with Loaded commands being shared with other projects.

3. If a binary directory is used with a different source than the one
originally configured by cmake.


I suspect in your case it is either 1 or 3, but I am not sure.
It may be a new problem.

Thanks.

-Bill


At 02:44 PM 7/23/2003, Otto Wyss wrote:
>> The Source directory is the directory that contains the source
>> for the project.  This directory should contain the top level
>> CMakelists.txt file for your project.   The Binary directory is
>> the directory that the software will be built in.  This is the directory
>> that will contain the .dsp/makefile/.vcproj files.   It can be the
>> same as the Source directory, although it is recommended that a different
>> directory be used.   I would recommend that you remove the CMakeCache.txt
>> file from your Source directory and start over.
>> 
>Thanks all for the answers. I've now tried almost any possible
>combination of directories ranging from all the same to each different
>and I still get this silly message. I've spend now a full evening for
>something which IMO shouldn't take longer than a few minutes. Sorry I'm
>giving up. I may try again in the future when this killer is somehow solved.
>
>O. Wyss
>
>-- 
>See "http://wxguide . sourceforge . net/" for ideas how to design your app.