[CMake] cmake and no make
luxInteg
lux-integ at btconnect.com
Wed Nov 24 12:06:11 EST 2010
On Tuesday 23 November 2010 05:37:39 Michael Hertling wrote:
> On 11/23/2010 03:25 AM, luxInteg wrote:
> > Greetings
> >
> >
> > I am learning cmake
> >
> >
> > Compiling alglib (http://www.alglib.net/) (cpp) does not use make
> > It is done simply by a command such as
> >
> > g++ -c *.cpp in the src directory
> >
> > QUESTION. If one wants a library from alglib I would like to know if it
> > can it be compiled using CMAKE and if so how so
>
> Set up a src/CMakeLists.txt, a tests/CMakeLists.txt and a top-level
> CMakeLists.txt, use ADD_LIBRARY(), ADD_EXECUTABLE(), ADD_TEST() and
> ADD_SUBDIRECTORY() along with the usual CMake stuff, and consider
> to offer the finished CMakeLists.txt files to the alglib folks.
>
I am sure they will eventually get to using cmake.
Thanks for the help anyway.
More information about the CMake
mailing list