diff options
author | Daniil Kazantsev <dkazanc3@googlemail.com> | 2018-08-15 21:46:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 21:46:44 +0100 |
commit | ccc74f7906f77c0f4483dc549bf05d2567b288fb (patch) | |
tree | 156f47a438c518a670ff0e78a855ca9fe2489a07 /CMakeLists.txt | |
parent | ae957063126a421ee0892eff18c44cf8b4e99042 (diff) | |
parent | 50739856921f8aeb980f790724b5117308bf9b0e (diff) | |
download | regularization-ccc74f7906f77c0f4483dc549bf05d2567b288fb.tar.gz regularization-ccc74f7906f77c0f4483dc549bf05d2567b288fb.tar.bz2 regularization-ccc74f7906f77c0f4483dc549bf05d2567b288fb.tar.xz regularization-ccc74f7906f77c0f4483dc549bf05d2567b288fb.zip |
Merge pull request #60 from vais-ral/cmaking
Cmaking
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d931ee..06e9c78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ set (RGL_VERSION_MAJOR 1) set (RGL_VERSION_MINOR 0) set (CIL_VERSION_MAJOR 0) -set (CIL_VERSION_MINOR 9) +set (CIL_VERSION_MINOR 10) set (CIL_VERSION_PATCH 1) set (CIL_VERSION '${CIL_VERSION_MAJOR}.${CIL_VERSION_MINOR}.${CIL_VERSION_PATCH}' CACHE INTERNAL "Core Imaging Library version" FORCE) @@ -30,5 +30,27 @@ set (CIL_VERSION '${CIL_VERSION_MAJOR}.${CIL_VERSION_MINOR}.${CIL_VERSION_PATCH} # set the Python variables for the Conda environment #include(${CMAKE_SOURCE_DIR}/CMake/FindAnacondaEnvironment.cmake) +option (BUILD_MATLAB_WRAPPER "Build Matlab Wrappers" OFF) +option (BUILD_PYTHON_WRAPPER "Build Python Wrappers" ON) +option (CONDA_BUILD "Conda Build" OFF) +option (BUILD_CUDA "Build the CUDA modules" ON) + +set(MATLAB_DEST_DIR "" CACHE PATH "Directory of the Matlab wrappers") +if (MATLAB_DEST_DIR) +set(MATLAB_DEST "${MATLAB_DEST_DIR}") +else() +set(MATLAB_DEST "${CMAKE_INSTALL_PREFIX}/matlab") +endif() +message(STATUS "Matlab wrappers will be installed in " ${MATLAB_DEST}) + +set(PYTHON_DEST_DIR "" CACHE PATH "Directory of the Matlab wrappers") +if (PYTHON_DEST_DIR) + set(PYTHON_DEST "${PYTHON_DEST_DIR}") +else() + set(PYTHON_DEST "${CMAKE_INSTALL_PREFIX}/python") +endif() +message(STATUS "Python wrappers will be installed in " ${PYTHON_DEST}) + + add_subdirectory(Core) add_subdirectory(Wrappers) |