From: Raimar S. <rai...@ui...> - 2012-08-03 22:49:15
|
Dear András, I have pushed my first attempts with the cmake build system, and it works quite well (dependency checking, library detection). Could you please test the branch raimar/cmake? At the top level source directory, the steps are: mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=<type> .. where <type> is release or debug (unfortunately this is a bit clumsy). and then there are several options, e.g. make -j4 make -j4 VERBOSE=1 make -j4 1particle1mode make -j4 fewer_scripts At the moment cmake checks for the required stuff (boost, blitz++, gsl, gslcblas) and fails if one of these is not found. It also checks the optional flens, boost-serialization and blitz++ with serialization support and enables the corresponding features if these are found. If not, a message is printed but the configuration succeeds. I would have to check if it is possible to override the optional features and to disable them even if they are detected (if this is desired?). If we are lucky this just works out of the box for MacOS, I will test it next week. Best regards Raimar |