# > for options where we don't need to detect if set by user (default: OFF)
option(USE_POLY "Use LibPoly for polynomial arithmetic")
option(USE_COCOA "Use CoCoALib for further polynomial operations")
-option(USE_PYTHON2 "Force Python 2 (deprecated)")
# Custom install directories for dependencies
# If no directory is provided by the user, we first check if the dependency was
endif()
endif()
-if(USE_PYTHON2)
- find_package(PythonInterp 2.7 REQUIRED)
-else()
- find_package(PythonInterp 3 REQUIRED)
-endif()
-
+find_package(PythonInterp 3 REQUIRED)
find_package(GMP 6.1 REQUIRED)
if(ENABLE_ASAN)
print_config("Shared build " ${BUILD_SHARED_LIBS})
print_config("Python bindings " ${BUILD_BINDINGS_PYTHON})
print_config("Java bindings " ${BUILD_BINDINGS_JAVA})
-print_config("Python2 " ${USE_PYTHON2})
print_config("Interprocedural opt. " ${ENABLE_IPO})
message("")
print_config("CryptoMiniSat " ${USE_CRYPTOMINISAT} FOUND_SYSTEM ${CryptoMiniSat_FOUND_SYSTEM})
--coverage support for gcov coverage testing
--profiling support for gprof profiling
--unit-testing support for unit testing
- --python2 force Python 2 (deprecated)
--python-bindings build Python bindings based on new C++ API
--java-bindings build Java bindings based on new C++ API
--all-bindings build bindings for all supported languages
muzzle=default
ninja=default
profiling=default
-python2=default
python_bindings=default
java_bindings=default
editline=default
--unit-testing) unit_testing=ON;;
--no-unit-testing) unit_testing=OFF;;
- --python2) python2=ON;;
- --no-python2) python2=OFF;;
-
--python-bindings) python_bindings=ON;;
--no-python-bindings) python_bindings=OFF;;
&& cmake_opts="$cmake_opts -DENABLE_TRACING=$tracing"
[ $unit_testing != default ] \
&& cmake_opts="$cmake_opts -DENABLE_UNIT_TESTING=$unit_testing"
-[ $python2 != default ] \
- && cmake_opts="$cmake_opts -DUSE_PYTHON2=$python2"
[ $docs != default ] \
&& cmake_opts="$cmake_opts -DBUILD_DOCS=$docs"
[ $python_bindings != default ] \