BVLC/caffe — pull request #442 by akosiorek (2014-05-23 11:33:08+00:00)
Title: CMake build system

CMake build system for Caffe. Changes:
1. Tests are managed by CTest
2. Building shared libs is controlled by BUILD_SHARED_LIBS flag set at configuration time (default is off)
3. Have yet to add Matlab wrapper
4. Changed source tree in order to facilitate out-of-source build
5. Compiler must be specified before the first invokation of cmake (if default is other then gcc-4.6).

Building tips:
mkdir build
cd build
CC=gcc-4.6 cmake ../src
make -j8
ctest -v

Options are specified at cmake invokation with -D flag. Example: -DPYTHON=ON
PYTHON [default OFF]
MATLAB [default OFF]
EXAMPLES [default ON]
TOOLS[default ON]
BLAS [atlas, open, mkl; default atlas]

Remarks:
Tested only under Linux Mint 16