cmake option examples

Signatures

option(<variable> "<help_text>" [value])

Examples

timi-liuliang/echo CMakeLists.txt :10

OPTION(ECHO_BUILD_PLATFORM_ANDROID "Android platform." FALSE)

ange-yaghi/scs-2d-demo CMakeLists.txt :3

option(DTV "Enable video output" OFF)

AtomicGameEngine/AtomicGameEngine Source/CMakeLists.txt :7

option(ATOMIC_EDITOR "Build Editor" ON)

u3d-community/U3D Source/ThirdParty/Assimp/CMakeLists.txt :48

option(ASSIMP_BUILD_USD_IMPORTER "Enable USD file import" off)

novelrt/NovelRT CMakeLists.txt :33

option(NOVELRT_BUILD_DOCUMENTATION "Build NovelRT documentation" OFF)

urho3d/urho3d cmake/Modules/UrhoCommon.cmake :133

option (URHO3D_ANGELSCRIPT "Enable AngelScript scripting support" TRUE)

basketoengine/Basketo vendor/imgui/examples/example_glfw_wgpu/CMakeLists.txt :52

option(TINT_BUILD_TESTS "Build tests" OFF)

rodrigodzf/NeuralResonatorVST CMakeLists.txt :16

option(USE_SIMPLE_UI "Use simple UI" OFF)

alicevision/AliceVision src/CMakeLists.txt :79

option(ALICEVISION_REQUIRE_CERES_WITH_SUITESPARSE "Require Ceres with SuiteSparse (ensure best performances)" ON)

f3d-app/f3d CMakeLists.txt :129

option(F3D_LINUX_LINK_FILESYSTEM "Link with libstdc++fs, may be needed for older compilers" OFF)

prusa3d/PrusaSlicer CMakeLists.txt :36

option(SLIC3R_STATIC 			"Compile PrusaSlicer with static libraries (Boost, TBB, glew)" ${SLIC3R_STATIC_INITIAL})

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

option(BUILD_FORCE_DIRECTORY "The build directory must be different to the source directory." OFF)

anhttran/extreme_3d_faces lib/3rdParty/Eigen/CMakeLists.txt :251

option(EIGEN_TEST_VSX "Enable/Disable VSX in tests/examples" OFF)

godlikepanos/anki-3d-engine CMakeLists.txt :144

option(ANKI_STRIP "Strip the symbols from the executables" OFF)

prusa3d/Prusa-Firmware CMakeLists.txt :9

OPTION(NO_TAG_IS_FATAL "If tag parsing fails, issue a fatal error" OFF)

bambulab/BambuStudio cmake/modules/Catch2/ParseAndAddCatchTests.cmake :63

option(PARSE_CATCH_TESTS_ADD_FIXTURE_IN_TEST_NAME "Add fixture class name to the test name" ON)

tinyobjloader/tinyobjloader CMakeLists.txt :56

option(TINYOBJLOADER_BUILD_TEST_LOADER "Build Example Loader Application" OFF)

SoftFever/OrcaSlicer CMakeLists.txt :94

option(SLIC3R_FHS               "Assume OrcaSlicer is to be installed in a FHS directory structure" 0)

kcat/openal-soft CMakeLists.txt :78

option(ALSOFT_DLOPEN  "Check for the dlopen API for loading optional libs"  ON)

asc-community/MxEngine CMakeLists.txt :9

option(MXENGINE_BUILD_SHIPPING "shipping build for end user" OFF)

anhttran/3dmm_basic lib/3rdParty/Eigen/CMakeLists.txt :239

option(EIGEN_TEST_F16C "Enable/Disable F16C in tests/examples" OFF)

DragonJoker/Castor3D CMakeLists.txt :4

option( CASTOR_FORCE_VCPKG_SUBMODULES "Build submodules from vcpkg instead of external folder" OFF )

cadaver/turso3d ThirdParty/SDL/src/hidapi/CMakeLists.txt :43

option(HIDAPI_WITH_LIBUSB "Build LIBUSB-based implementation of HIDAPI" ON)

Hork-Engine/Hork-Source ThirdParty/JoltPhysics/Build/CMakeLists.txt :9

option(DOUBLE_PRECISION "Use double precision math" OFF)

STORM-IRIT/Radium-Engine CMakeLists.txt :56

option(RADIUM_GENERATE_LIB_GUI "Include Radium::Gui in CMake project." ON)

laxnpander/OpenREALM modules/CMakeLists.txt :27

option(WITH_PCL        "Enable/Disable support for PCL libraries"         ON)

RavEngine/RavEngine deps/assimp/CMakeLists.txt :110

OPTION ( ASSIMP_BUILD_TESTS
  "If the test suite for Assimp is built in addition to the library."
  ON
)

cnr-isti-vclab/meshlab src/external/lib3ds.cmake :6

option(MESHLAB_ALLOW_DOWNLOAD_SOURCE_LIB3DS "Allow download and use of lib3ds source" ON)

lmb-freiburg/ogn cmake/Utils.cmake :196

option(${variable} "${description}" ${__value})

bmwcarit/ramses CMakeLists.txt :45

option(ramses-sdk_ENABLE_WINDOW_TYPE_WAYLAND_WL_SHELL   "Enable building for Wayland wl_shell window" OFF)

zenustech/zeno CMakeLists.txt :42

option(ZENO_USE_FAST_MATH "Build ZENO with -ffast-math" OFF)

alex-hjm/cloudtool CMakeLists.txt :54

option(WITH_OPENMP "Build with parallelization using OpenMP" TRUE)

ZDoom/Raze CMakeLists.txt :237

option (HAVE_VULKAN "Enable Vulkan support" ON)

stuntrally/stuntrally3 CMakeLists.txt :34

option(BUILD_GAME_SERVER    "Build the game list server app."  ON)

keith2018/SoftGLRender third_party/assimp/CMakeLists.txt :83

OPTION( ASSIMP_NO_EXPORT
  "Disable Assimp's export functionality."
  OFF
)

GPUOpen-Drivers/pal src/core/imported/rdf/CMakeLists.txt :37

option(RDF_BUILD_INSTALL       "Install RDF libs" ${RDF_IS_TOP_LEVEL})

alpaka-group/alpaka example/convolution2D/CMakeLists.txt :24

option(alpaka_USE_SOURCE_TREE "Use alpaka's source tree instead of an alpaka installation" OFF)

eclipse-ecal/ecal CMakeLists.txt :179

option(ECAL_USE_QT                                  "Platform supports Qt 5 / 6 library."                               ON)

LLNL/CHAI cmake/SetupChaiOptions.cmake :9

option(CHAI_ENABLE_OPENMP "Enable OpenMP" Off)

TiledTensor/TiledCUDA CMakeLists.txt :13

option(WITH_TESTING "Build with CTests" ON)

LLNL/zfp CMakeLists.txt :316

option(BUILD_EXAMPLES "Build Examples" OFF)

nextcloud/desktop NEXTCLOUD.cmake :57

option(ENFORCE_SINGLE_ACCOUNT "Enforce use of a single account in desktop client" OFF)

cs1ime/ceserver-rawmem thirdparty/cpp-httplib/CMakeLists.txt :84

option(HTTPLIB_USE_OPENSSL_IF_AVAILABLE "Uses OpenSSL (if available) to enable HTTPS support." ON)

ElyPrismLauncher/ElyPrismLauncher CMakeLists.txt :243

option(Launcher_ENABLE_JAVA_DOWNLOADER "Build the java downloader feature" ${Launcher_ENABLE_JAVA_DOWNLOADER_DEFAULT})

end2endzone/ShellAnything CMakeLists.txt :180

option(SHELLANYTHING_BUILD_PLUGINS "Build all ${PROJECT_NAME}'s plugins" OFF)

JGRennison/OpenTTD-patches cmake/Options.cmake :55

option(OPTION_FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." OFF)

ANTsX/ANTs ANTS.cmake :85

option(ITK_USE_SYSTEM_FFTW "Use an installed version of fftw" OFF)

BLAST-WarpX/warpx CMakeLists.txt :83

option(WarpX_SENSEI        "SENSEI in situ diagnostics"                 OFF)

hydrogen-music/hydrogen CMakeLists.txt :110

option(WANT_PORTAUDIO    "Include PortAudio support" OFF)

NREL/OpenStudio CMakeLists.txt :286

option(BUILD_DOCUMENTATION "Build Documentation" OFF)

pcb9382/FaceAlgorithm FaceAlgorithm/silent_face_anti_spoofing/CMakeLists.txt :10

option(CUDA_USE_STATIC_CUDA_RUNTIME OFF)

Smorodov/Multitarget-tracker thirdparty/spdlog/CMakeLists.txt :54

option(SPDLOG_BUILD_ALL "Build all artifacts" OFF)

supercollider/supercollider CMakeLists.txt :133

option(USE_CCACHE "Use ccache if available." ON)

numenta/nupic.core-legacy CMakeLists.txt :39

option(NUPIC_BUILD_PYEXT_MODULES
       "Turn on building of python extension modules for nupic.bindings; turn off to build only static nupic_core lib with full symbol visibility."
       ON)

stack-of-tasks/pinocchio CMakeLists.txt :32

option(INSTALL_DOCUMENTATION "Generate and install the documentation" OFF)

ros-industrial/industrial_calibration CMakeLists.txt :16

option(INDUSTRIAL_CALIBRATION_BUILD_GUI "Build GUI" ON)

gadomski/cpd vendor/googletest-1.14.0/CMakeLists.txt :21

option(GTEST_HAS_ABSL "Use Abseil and RE2. Requires Abseil and RE2 to be separately added to the build." OFF)

Kitware/kwiver CMakeLists.txt :126

OPTION(KWIVER_EXPORT_COMPILE_COMMANDS "Export compile commands to support LSP development." FALSE )

davidstutz/superpixel-benchmark CMakeLists.txt :52

option(BUILD_CW "Build CW" OFF)

MOLAorg/mp2p_icp CMakeLists.txt :64

option(MP2PICP_USE_TBB "If found TBB, this option controls whether to use it or not" ON)

sylefeb/Silice antlr/antlr4-cpp-runtime-4.7.2-source/CMakeLists.txt :22

option(WITH_LIBCXX "Building with clang++ and libc++(in Linux). To enable with: -DWITH_LIBCXX=On" On)

RSIA-LIESMARS-WHU/LSHBOX include/eigen/bench/btl/CMakeLists.txt :8

OPTION(BTL_NOVEC "Disable SSE/Altivec optimizations when possible" OFF)

shapelets/khiva CMakeLists.txt :43

option(KHIVA_BUILD_JNI_BINDINGS "Build JNI bindings" ON)

Enri2077/realtime-manifold-mesh-reconstructor external/glm/CMakeLists.txt :114

option(GLM_TEST_ENABLE_FAST_MATH "Enable fast math optimizations" OFF)

liminchen/OptCuts CMakeLists.txt :13

option(LIBIGL_WITH_COMISO            "Use CoMiso"         OFF)

kahypar/mt-kahypar CMakeLists.txt :85

option(KAHYPAR_PYTHON "Include the Python interface in the build." OFF)

amule-project/amule cmake/options.cmake :190

option (ENABLE_NLS "enable national language support" ON)

SCOREC/core CMakeLists.txt :42

option(SCOREC_NO_MPI "Disable MPI support.  When enabled only serial execution is supported." OFF)

bareos/bareos cmake/BareosSetVariableDefaults.cmake :473

option(coverage "coverage" OFF)

WerWolv/Fenestra lib/third_party/nlohmann_json/CMakeLists.txt :45

option(JSON_DisableEnumSerialization       "Disable default integer enum serialization." OFF)

maidsafe-archive/MaidSafe CMakeLists.txt :155

option(HAVE_LIBC++ "If ON, '-stdlib=libc++' is added to the compile and link flags" ON)

mangosArchives/serverZero_Rel19 CMakeLists.txt :35

option(BUILD_TOOLS          "Build tools (map/vmap/mmap extractors)" OFF)

pierreguillot/Camomile libpd/CMakeLists.txt :26

option(PD_LOCALE "Set the LC_NUMERIC number format to the default C locale" ON)

simulton/QSchematic CMakeLists.txt :20

option(QSCHEMATIC_BUILD_SHARED "Whether to build a shared library" ${OPTION_BUILD_SHARED_DEFAULT})

r1delta/r1delta overlays/ports/l8w8jwt/CMakeLists.txt :28

option(L8W8JWT_PACKAGE "Build the library and package it into a .tar.gz after successfully building." OFF)

mellowagain/rpc-wine CMakeLists.txt :5

option(32BIT "Build rpc_wine as 32-bit library" ON)

0xd34df00d/leechcraft src/CMakeLists.txt :20

option (USE_ASAN "Use address sanitizer" OFF)

NVIDIA/nvshmem cmake_config/NVSHMEMEnv.cmake :138

option(NVSHMEM_TEST_STATIC_LIB "Force tests to link only against the combined nvshmem.a binary" $ENV{NVSHMEM_TEST_STATIC_LIB})

trojan-gfw/trojan CMakeLists.txt :40

option(ENABLE_TLS13_CIPHERSUITES "Build with TLS1.3 ciphersuites support" ON)

ml-explore/mlx CMakeLists.txt :40

option(MLX_BUILD_GGUF "Include support for GGUF format" ON)

mariadb-corporation/MaxScale cmake/defaults.cmake :9

option(BUILD_GSSAPI "Build GSSAPI authenticator" ON)

facebook/rocksdb CMakeLists.txt :137

option(GFLAGS_USE_TARGET_NAMESPACE "Use gflags import target with namespace." ON)

PixarAnimationStudios/OpenSubdiv CMakeLists.txt :320

option(NO_EXAMPLES "Disable examples build" OFF)

lightspark/lightspark src/3rdparty/imgui/examples/example_glfw_wgpu/CMakeLists.txt :55

option(TINT_BUILD_SPV_WRITER "Build the SPIR-V output writer" OFF)

gnss-sdr/gnss-sdr CMakeLists.txt :47

option(ENABLE_MAX2771 "Enable the use of MAX2771 direct to FPGA hardware, requires the spidev driver" OFF)

facebook/mvfst build/fbcode_builder/CMake/FBBuildOptions.cmake :4

option(USE_STATIC_DEPS_ON_UNIX
    "If enabled, use static dependencies on unix systems. This is generally discouraged."
    OFF
  )

ByConity/ByConity CMakeLists.txt :266

option(COMPILER_PIPE "-pipe compiler option" ON)

KhronosGroup/Vulkan-LoaderAndValidationLayers CMakeLists.txt :163

option(CUSTOM_GLSLANG_BIN_ROOT "Use the user defined GLSLANG_BINARY_ROOT" OFF)

SsageParuders/Android_Native_Surface my_android_opencv/cmake/FindCUDA.cmake :476

option(CUDA_PROPAGATE_HOST_FLAGS "Propagate C/CXX_FLAGS and friends to the host compiler via -Xcompile" ON)

psi4/psi4 CMakeLists.txt :115

option(ENABLE_bse "Enables the basis_set_exchange for requesting basis sets (requires jsonschema, regex; can also be added at runtime)" OFF)

stp/stp CMakeLists.txt :391

option(USE_THREAD_LOCAL "Use thread-local storage when available" ON)

lizardfs/lizardfs CMakeLists.txt :21

option(ENABLE_UTILS             "Enable building additional binaries used e.g. in tests" OFF)

dropbox/lepton CMakeLists.txt :5

option(USE_SYSTEM_DEPENDENCIES "Use system dependencies for libz and openssl" OFF)

LLNL/Caliper CMakeLists.txt :54

option(BUILD_SHARED_LIBS "Build shared libraries" TRUE)

RenderKit/ospray cmake/ospray_options.cmake :33

option(OSPRAY_ENABLE_APPS "Enable the 'apps' subtree in the build." ON)

chdb-io/chdb CMakeLists.txt :92

option (ENABLE_FUZZING "Fuzzy testing using libfuzzer" OFF)

NVIDIA/MatX CMakeLists.txt :62

option(MATX_BUILD_TESTS "Build unit tests" OFF)

JDAI-CV/dabnn CMakeLists.txt :18

option(BNN_BUILD_BENCHMARK "Build benchmark" ON)

v6d-io/v6d CMakeLists.txt :35

option(USE_EXTERNAL_ETCD_LIBS "Build with external etcd-cpp-apiv3 library rather than the submodule one" OFF)

garglk/garglk garglk/CMakeLists.txt :6

option(BUILD_SHARED_LIBS "Build a shared libgarglk instead of a static library" ON)