Repository navigation
usr.variables
Ruslan Baratov edited this page Apr 21, 2015
·
11 revisions
- Turn on/off Hunter package manager. If this variable is
OFFHunterGatemodule will do nothing,hunter_add_packagecommand will have no effects. You can add this variable asoptionwhile experimenting to keep backward compatibility with old package manager:
option(HUNTER_ENABLED "Enable Hunter package manager" OFF)
HunterGate(...) # ignored
if(WITH_FOO)
hunter_add_package(Foo) # ignored
find_package(Foo) # found in standard location
endif()- Default:
ON
- Path to Hunter root directory. Set this variable if you don't want to install Hunter packages to default location
- See HunterGate
- Print current build status
- Default:
ON
- Print a lot of info
- Set this variable to
ONbefore submitting bugs - Default:
OFF
- Number of parallel builds that will be used in such native tools like
make -jNorxcodebuild -jobs N - For Visual Studio flag
/MPwill be used - Set variable to
0to disable adding any flags:HUNTER_JOBS_NUMBER=0 - Default: NUMBER_OF_LOGICAL_CORES
- Set this variable to
ONto run auto-install procedure if it's disabled byHUNTER_DISABLE_AUTOINSTALLenvironment variable - See
HUNTER_DISABLE_AUTOINSTALL
- Use external directory
HUNTER_BINARY_DIRfor building external projects. This variable can be used to fix "path too long" error on windows
- Set this environment variable to non-empty value (e.g.
HUNTER_DISABLE_AUTOINSTALL=ON) to disable automatic initialization of Hunter root directory by HunterGate module. This will give you more control in some advanced usage situations, see examples. SetHUNTER_RUN_INSTALL=ONCMake variable each time you want to run auto-install procedure. Note that there is no need to set any variables if Hunter root is already installed.
Feel free to open new issue if you want to ask any questions.
- HOME
- Packages
- Android-Apk
- Android-Modules
- Android-SDK
- ArrayFire
- Assimp
- Async++
- Avahi
- BZip2
- Boost
- Boost.compute
- Boost.process
- CLAPACK
- Comet
- CppNetlib.URI
- CsvParserCPlusPlus
- Eigen
- Expat
- GPUImage
- GSL
- GTest
- GMock
- Igloo
- IntSizeof
- Jpeg
- JsonSpirit
- LLVM (Clang)
- Leathers
- Libssh2
- Lua
- MySQL-client
- nlohmann::json
- OpenCV
- OpenSSL
- PNG
- Poco C++
- PostgreSQL
- Protobuf
- Qt
- Qt-Android-CMake
- QtQmlManager
- RapidJSON
- Sugar
- TIFF
- Washer
- WTL
- ZeroMQ
- ZMQPP
- ZLIB
- rabbitmq-c
- sparsehash
- ccv
- cereal
- convertutf
- crashpad
- cvmatio
- dest
- dlib
- eos
- flatbuffers
- fmt
- freetype
- glm
- glog
- half
- hdf5
- ios_sim
- irrXML
- libyuv
- log4cplus
- minizip
- odb-pgsql
- odb-mysql
- ogles_gpgpu
- openddlparser
- poly2tri
- polyclipping
- spdlog
- szip
- thread-pool-cpp
- tinydir
- websocketpp
- msgpack
- wxWidgets
- xgboost
Don't see packages you need? Feel free to leave a package request.