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. Regards, Michael _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake