[Cmake] CMakeLists.txt
Don Burns
don at andesengineering.com
Tue Jun 29 21:30:07 EDT 2004
Thanks for the help, I'm over the initiation hump.
The route I took was to begin with the binary distribution rather than the
source code, then follow the documentation you point me to, Bill. The
binary distribution, unfortunately, does not come with any example
CMakeLists.txt files, nor are the mentioned by the documentation. A
friendly suggestion might be to include the Example directory in the
binary distribution and mention it in the documentation.
Thanks!
-don
On Tue, 29 Jun 2004, William A. Hoffman wrote:
> 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