option(BUILD_STATIC_LIBS "Build static libraries" ON)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)

option(USE_DPEFF "Output effective D^p rather than effective shearing rates" OFF)

option(ENABLE_THROW "Enable throwing of exceptions" ON)

option(ENABLE_TESTS "Enable tests" ON)

option(ENABLE_GTEST "Enable gtest" ON)

option(ENABLE_FRUIT "Enable fruit" OFF)

option(ENABLE_CUDA "Enable CUDA" OFF)

option(ENABLE_OPENMP "Enable openmp" ON)

option(ENABLE_MINIAPPS "Enable miniapps" ON)

option(ENABLE_PYTHON "Enable building of python bindings" OFF)

option(ENABLE_PYTHON_DEV "Enable building of python dev bindings" OFF)

# Force atleast static if user turns off both
if(NOT BUILD_STATIC_LIBS AND NOT BUILD_SHARED_LIBS)
    message("Both static and shared libaries were disabled."
            "Building static libraries re-enabled.")
    set(BUILD_STATIC_LIBS ON CACHE BOOL "Build static libraries" FORCE)
endif(NOT BUILD_STATIC_LIBS AND NOT BUILD_SHARED_LIBS)
