[Cmake] CMake, first steps

Bill Hoffman bill . hoffman at kitware . com
Wed, 23 Jul 2003 16:03:28 -0400


I have a new theory about what went wrong.
This message can happen if there is no
CMakeLists.txt file in the source directory.
(The message has been fixed in CVS to say
that there was no CMakeLists.txt file found in
the source directory specified.)  That fix should
be in the next version of CMake.

So, my theory is that you have a spelling error
in the name of your CMakeLists.txt file.  If you could
check this or post the file if that is not the
problem, your evening may not have been in vain, as
it may help someone else.

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.
>_______________________________________________
>Cmake mailing list
>Cmake at www . cmake . org
>http://www . cmake . org/mailman/listinfo/cmake