Configure options
The configure script has a lot of options which help you to customize your build. This is the list of all configure options. To print all available options to your terminal use ./configure --help.
- Build Options
- Installation Directories
- Optional Features
- Disable Features
- Debugging
- Benchmark Suite Options
Build Options
-
--generator=GENERATORset CMake generator -
--build-type=TYPEset CMake build type (Default:RelWithDebInfo) -
Debugdebugging flags enabled -
MinSizeRelminimal output size -
Releaseoptimizations on, debugging off -
RelWithDebInforelease flags plus debugging -
--build-dir=DIRplace build files in given directory (Default:build) -
--bin-dir=DIRexecutable directory (Default:build/bin) -
--lib-dir=DIRlibrary directory (Default:build/lib) -
--with-clang=FILEpath to clang++ executable -
--with-gcc=FILEpath to g++ executable -
--dual-buildbuild using both gcc and clang -
--build-staticbuild as static and shared library -
--build-static-onlybuild as static library only -
--more-warningsenables most of Clang's/GCC's warning flags -
--no-compiler-checkdisable compiler version check -
--warnings-as-errorsenables-Werror -
--with-asiouse Boost.ASIO instead of the native IO backend
Installation Directories
-
--prefix=PREFIXinstallation directory (Default:/usr/local)
Optional Features
-
--enable-perftoolsbuild with Google perftools
Disable Features
-
--no-memory-managementbuild without memory management -
--no-examplesbuild without examples -
--no-qt-examplesbuild without Qt examples -
--no-protobuf-examplesbuild without Google Protobuf examples -
--no-curl-examplesbuild without libcurl examples -
--no-unit-testsbuild without unit tests -
--no-openclbuild without opencl -
--no-nexusbuild without nexus -
--no-cashbuild without shell (cash) -
--no-benchmarksbuild without benchmarks -
--no-riacbuild without riac
Debugging
-
--with-runtime-checksbuild with requirement checks at runtime -
--with-log-level=LVLbuild with debugging output ERRORWARNINGINFODEBUGTRACE-
--with-address-sanitizerbuild with address sanitizer if available
Benchmark Suite Options
-
--with-javac=Filepath to java compiler -
--with-java=FILEpath to java -
--with-scalac=FILEpath to scalac executable -
--with-erlc=FILEpath to erlc executable -
--with-charmc=FILEpath to charm++ compiler -
--with-salsa=FILEpath to salsa compiler