[CMake] Getting started with the tutorial

David MacQuigg macquigg at ece.arizona.edu
Thu Aug 23 22:03:39 EDT 2012





>________________________________
> From: Stefan Reuschl <lists at stefanreuschl.de>
>To: David MacQuigg <macquigg at ece.arizona.edu> 
>Cc: "cmake at cmake.org" <cmake at cmake.org> 
>Sent: Thursday, August 23, 2012 2:32 PM
>Subject: Re: [CMake] Getting started with the tutorial
> 
>Am 22.08.2012, 22:59 Uhr, schrieb David MacQuigg <macquigg at ece.arizona.edu>:
>
>> I'm just getting started with CMake.  Downloaded and installed version 2.8.9 under Mac OS 10.6.  Downloaded the tutorial (Step 1) from Tests/Tutorial.  Everything looks normal.
>> 
>> 
>> I then ran CMake and filled out the form with the source and binary directories (after adding a "bin" directory for the binaries).  The "Configure" step seemed to run normally, no error messages.  Same for the "Generate" step.  Lots of new files and folders in "bin".  The only problem is I can't get a working executable file out of all this.  I found two files named a.out, but they just do an immediate return, with nothing to stdout.
>> 
>> I must be missing something obvious.  Help will be greatly appreciated.
>
>Configure/Generate just generates the native build system but doesn't execute it.
>You need to call make in bin/ or open the XCode project depending
>on which generator you selected. Another option is to call "cmake --build bin/"

That works !!  Many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120823/99bfb6db/attachment-0001.htm>


More information about the CMake mailing list