-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jose Miguel de la Rosa Trevin edited this page Nov 10, 2017
·
3 revisions
Basic image processing library for Electron Microscopy
git clone git@github.com:3dem/em-core.git
cd em-core
mkdir build
cd build
cmake ..
In order to enable google test, you need to pull the test git-module and pass the proper option to cmake. From the root em-core directory:
cd libs/googletest/
git submodule update --init
# Then follow the normal building process...so from build directory:
cmake .. -DBUILD_TESTS=ON
To build the documentation you could add the following option to cmake:
cmake .. -DBUILD_DOCS=ON
While developing the library, we usually want also to build the tests and use cmake Debug mode:
cmake .. -DBUILD_TESTS=ON -DBUILD_DOCS=ON -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=Debug
For the moment, we need to pass a variable to cmake where the em-core library is:
cmake ../relion-devel-tcblab/ -DGUI=OFF -DCUDA=OFF -DALTCPU=OFF \
-DEMCORE_ROOT_PATH=/home/dari/Projects/emcore/em-core/