[Cmake] CMakeLists.txt

William A. Hoffman billlist at nycap.rr.com
Tue Jun 29 16:06:31 EDT 2004


There is also a simple example on the web here:

http://www.cmake.org/HTML/Documentation.html

The Example can be downloaded from here:
http://www.cmake.org/HTML/Examples.html

-Bill

At 03:52 PM 6/29/2004, Andy Cedilnik wrote:
>Hi Don,
>
>The source directory (the one you specified to ccmake) should have
>CMakeLists.txt file. This tells CMake what to do. Example would be:
>
>PROJECT(Hello)
>
>ADD_EXECUTABLE(Hello Hello.cxx)
>
>For more information, I would suggest looking at an existing CMake
>project (such as tests inside CMake), or look at the Mastering CMake
>book.
>
>                        Andy
>
>On Tue, 2004-06-29 at 13:36, Don Burns wrote:
>> I've been introduced to cmake by an enthusiast and have decided to give it 
>> a try for use on our project.  Unfortunately, after following the 
>> directions given on the website for "Running CMake on Unix" the results I 
>> get are a message:
>> 
>> CMake Error: The source directory "/home/don/Software/CMake/Example/Hello" 
>> does not appear to contain CMakeLists.txt.
>> 
>> There is no mention of CMakeLists.txt, or an example in the distribution.  
>> A search of the mailing list seems to indicate I am the only one on the 
>> planet having this problem.
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list