cmake option() examples

ornladios/ADIOS2 thirdparty/ffs/ffs/CMakeLists.txt :416

option(FFS_LIBRARIES_ONLY "Whether or not to build the associated executables"
  OFF)

ornladios/ADIOS2 thirdparty/GTest/googletest/googletest/CMakeLists.txt :18

option(gtest_build_tests "Build all of gtest's own tests." OFF)

liballeg/allegro5 CMakeLists.txt :177

option(WANT_MONOLITH "Include all addons in the main library" off)

liballeg/allegro5 CMakeLists.txt :218

option(WANT_DLL_TLS "Force use of DllMain for TLS (Windows)" off)

liballeg/allegro5 addons/acodec/CMakeLists.txt :12

option(WANT_ACODEC_DYNAMIC_LOAD "Enable DLL loading in acodec (Windows)" off)

audaspace/audaspace CMakeLists.txt :292

option(WITH_STRICT_DEPENDENCIES "Error and abort instead of warning if a library is not found." FALSE)

CGNS/CGNS CMakeLists.txt :138

option(CGNS_ENABLE_FORTRAN "Enable or disable the use of Fortran" "OFF")

projectchrono/chrono src/tests/unit_tests/CMakeLists.txt :66

option(BUILD_TESTING_MULTICORE "Build unit tests for Multicore module" TRUE)

projectchrono/chrono src/tests/unit_tests/CMakeLists.txt :99

option(BUILD_TESTING_SYNCHRONO "Build unit tests for SynChrono module" TRUE)

civetweb/civetweb CMakeLists.txt :221

option(CIVETWEB_ENABLE_DUKTAPE "Enable Duktape CGIs" OFF)

coin3d/coin CMakeLists.txt :96

option(FONTCONFIG_RUNTIME_LINKING   "Enable FontConfig runtime linking when ON (default), disable when OFF." ON)

mosra/corrade CMakeLists.txt :210

option(CORRADE_WITH_TESTSUITE "Build TestSuite library" ON)

curl/curl CMakeLists.txt :396

option(CURL_DISABLE_BASIC_AUTH "Disable Basic authentication" OFF)

dftbplus/dftbplus config.cmake :32

option(WITH_TBLITE "Whether xTB support should be included via tblite." FALSE)

davisking/dlib dlib/external/pybind11/CMakeLists.txt :110

option(PYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION
       "To enforce that a handle_type_name<> specialization exists" OFF)

duckdb/duckdb CMakeLists.txt :446

option(DISABLE_EXTENSION_LOAD "Disable support for loading and installing extensions" FALSE)

JPeterMugaas/efxc2 CMakeLists.txt :32

option(EFXC2_FORMAT_VENDORED "Use vendored fmt" ${MSVC})

Exiv2/exiv2 CMakeLists.txt :55

option(EXIV2_BUILD_DOC "Add 'doc' target to generate documentation" OFF)

spnda/fastgltf deps/CMakeLists.txt :135

option(GLFW_INSTALL "Generate installation target" OFF)

fmtlib/fmt CMakeLists.txt :169

option(FMT_FUZZ "Generate the fuzz target." OFF)

FreeCAD/FreeCAD cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake :10

option(FREECAD_USE_EXTERNAL_KDL "Use system installed orocos-kdl instead of the bundled." OFF)

FreeCAD/FreeCAD cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake :150

option(ENABLE_DEVELOPER_TESTS "Build the FreeCAD unit tests suit" ON)

FreeRDP/FreeRDP cmake/CompilerSanitizerOptions.cmake :45

option(WITH_NO_UNDEFINED "Add -Wl,--no-undefined" OFF)

cginternals/glbinding CMakeLists.txt :61

option(OPTION_BUILD_TESTS             "Build tests."                                              OFF)

HDFGroup/hdf4 CMakeLists.txt :523

option (HDF4_ENABLE_FORMATTERS "format source files" OFF)

HDFGroup/hdf4 config/cmake/HDFCompilerFlags.cmake :123

option (HDF4_DISABLE_COMPILER_WARNINGS "Disable compiler warnings" OFF)

HDFGroup/hdf4 config/cmake/ZLIBNG/CMakeLists.txt :120

option(WITH_CODE_COVERAGE "Enable code coverage reporting" OFF)

HDFGroup/hdf5 config/cmake/HDF5PluginMacros.cmake :39

option (ENABLE_${plname} "Enable Library Building for ${plname} plugin" ON)

redis/hiredis CMakeLists.txt :23

OPTION(ENABLE_SSL_TESTS "Should we test SSL connections" OFF)

ispc/ispc CMakeLists.txt :98

option(ISPC_INCLUDE_TESTS "Generate build targets for the ISPC tests." ON)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Eigen3/src/itkeigen/CMakeLists.txt :399

option(EIGEN_TEST_AVX512DQ "Enable/Disable AVX512DQ in tests/examples" OFF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Eigen3/src/itkeigen/CMakeLists.txt :841

option(ITK_USE_EIGEN_MPL2_ONLY "Set compile definition EIGEN_MPL2_ONLY for ITKInternalEigen3." OFF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Expat/src/expat/CMakeLists.txt :27

option(EXPAT_BUILD_FUZZERS "build fuzzers for the expat library" OFF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt :314

option(GDCM_USE_SYSTEM_JSON "Use system json" OFF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt :511

option(GDCM_WRAP_CSHARP "build gdcm/csharp wrapping" OFF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/GoogleTest/src/itkgoogletest/CMakeLists.txt :20

option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)

InsightSoftwareConsortium/ITK Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt :302

option(NIFTI_USE_PACKAGING "Configure the packaging options for NIFTI" OFF)

KhronosGroup/KTX external/basisu/CMakeLists.txt :9

option(SSE "SSE 4.1 support" TRUE)

ledger/ledger CMakeLists.txt :38

option(USE_PYTHON "Build support for the Python scripting bridge" OFF)

lensfun/lensfun CMakeLists.txt :53

OPTION(INSTALL_PYTHON_MODULE "Install Python module for the helper scripts" ON)

xqq/libaribcaption CMakeLists.txt :72

option(ARIBCC_USE_FREETYPE "Enable FreeType text rendering backend" ON)

intrepidcs/libicsneo CMakeLists.txt :10

option(LIBICSNEO_BUILD_DOCS "Build documentation. Don't use in Visual Studio." OFF)

intel/libipt CMakeLists.txt :92

option(PEVENT "Enable perf_event sideband support." OFF)

mosra/magnum CMakeLists.txt :229

option(MAGNUM_WITH_MAGNUMFONT "Build MagnumFont plugin" OFF)

mosra/magnum CMakeLists.txt :231

option(MAGNUM_WITH_OBJIMPORTER "Build ObjImporter plugin" OFF)

MapServer/MapServer INSTALL.CMAKE :128

- option(WITH_FRIBIDI "Choose if FriBidi glyph reordering should be enabled (useful for left-to-right languages)(requires harfbuzz)" ON)

zeux/meshoptimizer CMakeLists.txt :19

option(MESHOPT_BUILD_SHARED_LIBS "Build shared libraries" OFF)

zeux/meshoptimizer CMakeLists.txt :20

option(MESHOPT_STABLE_EXPORTS "Only export stable APIs from shared library" OFF)

mfem/mfem config/defaults.cmake :33

option(MFEM_USE_LEGACY_OPENMP "Enable legacy OpenMP usage" OFF)

mfem/mfem config/defaults.cmake :66

option(MFEM_USE_MKL_CPARDISO "Enable MKL CPardiso" OFF)

mltframework/mlt CMakeLists.txt :37

option(MOD_RTAUDIO "Enable RtAudio module" ON)

rui314/mold third-party/zstd/build/cmake/CMakeLists.txt :121

option(ZSTD_BUILD_TESTS "BUILD TESTS" ${ZSTD_BUILD_TESTS_default})

nanomsg/nng cmake/NNGOptions.cmake :73

option (NNG_PROTO_RESPONDENT0 "Enable RESPONDENTv0 protocol." ON)

OGRECave/ogre CMakeLists.txt :282

option(OGRE_STATIC "Static build" FALSE)

OpenImageDenoise/oidn CMakeLists.txt :43

option(OIDN_INSTALL_DEPENDENCIES "Install Open Image Denoise dependencies." OFF)

openbabel/openbabel CMakeLists.txt :669

option(ALL_BINDINGS "Build all languages bindings" OFF)

opencv/opencv cmake/FindCUDA.cmake :433

option(CUDA_64_BIT_DEVICE_CODE "Compile device code in 64 bit mode" ${CUDA_64_BIT_DEVICE_CODE_DEFAULT})

openscad/openscad CMakeLists.txt :38

option(USE_BUILTIN_CLIPPER2 "Use Clipper2 from submodule" ON)

openscenegraph/OpenSceneGraph CMakeLists.txt :471

OPTION(OSG_USE_FLOAT_QUAT "Set to ON to build OpenSceneGraph with float Quat instead of double." OFF)

openscenegraph/OpenSceneGraph CMakeLists.txt :533

OPTION(OSG_GL_LIBRARY_STATIC "Set to ON to statically link with OpenGL/GLES library." OFF)

AcademySoftwareFoundation/OpenShadingLanguage src/cmake/set_utils.cmake :120

# `option()` workalike using super_set underneath.

AcademySoftwareFoundation/OpenTimelineIO CMakeLists.txt :31

option(OTIO_DEPENDENCIES_INSTALL      "Install OTIO's C++ header dependencies (Imath)" ON)

gwaldron/osgearth src/third_party/tinygltf/examples/common/glm/CMakeLists.txt :40

option(GLM_TEST_ENABLE_CXX_0X "Enable C++ 0x" OFF)

gwaldron/osgearth src/third_party/tinygltf/examples/common/glm/CMakeLists.txt :43

option(GLM_TEST_ENABLE_CXX_14 "Enable C++ 14" OFF)

openscenegraph/osgQt CMakeLists.txt :200

OPTION(OSG_BUILD_PLATFORM_IPHONE "Enable IPhoneSDK Device support" OFF)

openscenegraph/osgQt CMakeLists.txt :663

OPTION(DYNAMIC_OPENSCENEGRAPH "Set to ON to build OpenSceneGraph for dynamic linking.  Use OFF for static." ON)

ICLDisco/parsec CMakeLists.txt :210

option(PARSEC_DEBUG_HISTORY
  "Keep a summarized history of critical events in memory that can be dumped in gdb when deadlock occur." OFF)

PDAL/PDAL cmake/options.cmake :10

option(BUILD_PLUGIN_CPD
    "Choose if the cpd filter should be built" FALSE)

qgis/QGIS external/o2/CMakeLists.txt :38

option(o2_WITH_FLICKR "Authenticate with Flickr" OFF)

facebook/rocksdb CMakeLists.txt :94

option(WITH_ZLIB "build with zlib" OFF)

facebook/rocksdb CMakeLists.txt :349

option(WITH_PERF_CONTEXT "Enable perf context" ON)

facebook/rocksdb CMakeLists.txt :1185

option(WITH_JNI "build with JNI" OFF)

eliaskosunen/scnlib cmake/options.cmake :42

option(SCN_DISABLE_FAST_FLOAT "Disable the external dependency on fast_float, requires std::from_chars for floats" OFF)

eliaskosunen/scnlib cmake/options.cmake :66

option(SCN_DISABLE_TYPE_LONG_LONG "Disable scanning of long long" OFF)

eliaskosunen/scnlib cmake/options.cmake :86

option(SCN_DISABLE_TYPE_STRING "Disable scanning of std::basic_string" OFF)

ossia/score cmake/ScoreConfiguration.cmake :26

option(SCORE_PLAYER "Build standalone player" OFF)

ossia/score cmake/ScoreConfiguration.cmake :37

option(SCORE_FAST_DEV_BUILD "Disables some features for faster development" OFF)

google/shaderc CMakeLists.txt :110

  option(SHADERC_ENABLE_SHARED_CRT
          "Use the shared CRT instead of the static CRT"
		  OFF)

simdjson/simdjson CMakeLists.txt :28

option(SIMDJSON_BUILD_STATIC_LIB "Build simdjson_static library along with simdjson (only makes sense if BUILD_SHARED_LIBS=ON)" OFF)

dtecta/solid3 CMakeLists.txt :33

option(USE_DOUBLES "Use double-precision floating-point numbers." OFF)

Haivision/srt CMakeLists.txt :167

option(ENABLE_ENCRYPTION "Enable encryption in SRT" ON)

DrTimothyAldenDavis/SuiteSparse LAGraph/cmake_modules/CodeCoverage.cmake :87

#    using a CMake option() to enable it just optionally):

DrTimothyAldenDavis/SuiteSparse LAGraph/cmake_modules/CodeCoverage.cmake :130

option(CODE_COVERAGE_VERBOSE "Verbose information" FALSE)

xiaoyeli/superlu CMakeLists.txt :113

option(TPL_ENABLE_METISLIB   "Build the METIS library" OFF)

apple/swift CMakeLists.txt :463

option(SWIFT_STDLIB_ASSERTIONS
    "Enable internal checks for the Swift standard library (useful for debugging the library itself, does not affect checks required for safety)"
    "${SWIFT_STDLIB_ASSERTIONS_default}")

apple/swift stdlib/cmake/modules/StdlibOptions.cmake :209

option(SWIFT_STDLIB_SINGLE_THREADED_CONCURRENCY
       "Build the standard libraries assuming that they will be used in an environment with only a single thread."
       FALSE)

texus/TGUI CMakeLists.txt :163

#option(TGUI_BUILD_AS_CXX_MODULE "ON to build TGUI as a c++20 module instead of using header files" OFF)

texus/TGUI CMakeLists.txt :194

option(TGUI_BUILD_FRAMEWORK "TRUE to build TGUI as a framework library (release only), FALSE to build according to TGUI_SHARED_LIBS" ${TGUI_SHARED_LIBS})

TigerVNC/tigervnc CMakeLists.txt :102

option(ENABLE_TSAN "Enable thread sanitizer support" OFF)

trilinos/Trilinos packages/kokkos/CMakeLists.txt :226

option(BUILD_SHARED_LIBS "Build shared libraries" OFF)

trilinos/Trilinos packages/nox/CMakeLists.txt :95

OPTION(NOX_ENABLE_ABSTRACT_IMPLEMENTATION_LAPACK
  "Enables support for LAPACK implementation of Abstract Group and Vector classes.  Defaults to ON if LAPACK is enabled, otherwise defaults to OFF."
  ${NOX_ENABLE_LAPACK}
  )

microsoft/vcpkg ports/libwebsockets/portfile.cmake :96

# option(LWS_WITH_LEJP "With the Lightweight JSON Parser" ON)

microsoft/vcpkg ports/libwebsockets/portfile.cmake :121

# option(LWS_WITH_ASAN "Build with gcc runtime sanitizer options enabled (needs libasan)" OFF)

microsoft/vcpkg ports/secp256k1/CMakeLists.txt :4

option(INSTALL_HEADERS "Install header files" ON)

movableink/webkit Source/ThirdParty/libwebrtc/Source/third_party/googletest/CMakeLists.txt :10

option(BUILD_GMOCK "Builds the googlemock subproject" ON)

movableink/webkit Source/ThirdParty/libwebrtc/Source/third_party/googletest/googletest/CMakeLists.txt :19

option(gtest_build_tests "Build all of gtest's own tests." OFF)

emweb/wt CMakeLists.txt :19

OPTION(SHARED_LIBS "Compile shared libraries" OFF)

facebook/zstd build/cmake/CMakeModules/ZstdOptions.cmake :19

option(ZSTD_FRAMEWORK "Build as Apple Framework" OFF)

gdraheim/zziplib zzipwrap/CMakeLists.txt :14

option(MSVC_STATIC_RUNTIME "Build with static runtime libs (/MT)" ON)

gdraheim/zziplib zzipwrap/CMakeLists.txt :20

option(ZZIP_LIBTOOL "Ensure binary compatibility with libtool" OFF)