Repository navigation
EP_BASE layout
ruslo edited this page Nov 9, 2013
·
33 revisions
TMP_DIR = <base>/tmp/<name>
STAMP_DIR = <base>/Stamp/<name>
DOWNLOAD_DIR = <base>/Download/<name>
SOURCE_DIR = <base>/Source/<name>
BINARY_DIR = <base>/Build/<name>
INSTALL_DIR = <base>/Install/<name>http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:ExternalProject
See hunter_download.cmake.in.
TMP_DIR = ${HUNTER_BASE}/tmp/<name-tagged[-debug]> # unchanged
STAMP_DIR = ${HUNTER_BASE}/Stamp/<name-tagged[-debug]> # unchanged
DOWNLOAD_DIR = ${HUNTER_BASE}/Download/<name> # use same source for all projects
SOURCE_DIR = ${HUNTER_BASE}/Source/<name> # use same source for all projects
BINARY_DIR = ${HUNTER_BASE}/Build/<name-tagged[-debug]> # unchanged
INSTALL_DIR = ${HUNTER_BASE}/Install/<tag> # set in CMAKE_INSTALL_PREFIXDefault tag value is [default][1]
- library
foo -
CMAKE_DEBUG_POSTFIXequald - generator
Unix Makefiles(ReleaseandDebugbuilded separately) - toolchains:
libcxxandlibstdcxx
Result will be:
- create external projects:
foo-libcxxfood-libcxxfoo-libstdcxxfood-libstdcxx-
TMP_DIR: ${HUNTER_BASE}/tmp/foo-libcxx${HUNTER_BASE}/tmp/foo-libstdcxx${HUNTER_BASE}/tmp/food-libcxx${HUNTER_BASE}/tmp/food-libstdcxx-
STAMP_DIR: ${HUNTER_BASE}/Stamp/foo-libcxx${HUNTER_BASE}/Stamp/foo-libstdcxx${HUNTER_BASE}/Stamp/food-libcxx${HUNTER_BASE}/Stamp/food-libstdcxx-
DOWNLOAD_DIR: ${HUNTER_BASE}/Download/foo-
SOURCE_DIR: ${HUNTER_BASE}/Source/foo-
BINARY_DIR: ${HUNTER_BASE}/Build/foo-libcxx${HUNTER_BASE}/Build/foo-libstdcxx${HUNTER_BASE}/Build/food-libcxx${HUNTER_BASE}/Build/food-libstdcxx-
INSTALL_DIR: ${HUNTER_BASE}/Install/libcxx${HUNTER_BASE}/Install/libstdcxx
When using toolchain libcxx:
-
foo_ROOTwill be setted to${HUNTER_BASE}/Install/libcxx -
find_packagewill returnfoo_LIBRARIESasdebug;${HUNTER_BASE}/Install/libcxx/foo.a;optimized;${HUNTER_BASE}/Install/libcxx/food.a
... using toolchain libstdcxx:
-
foo_ROOTwill be setted to${HUNTER_BASE}/Install/libstdcxx -
find_packagewill returnfoo_LIBRARIESasdebug;${HUNTER_BASE}/Install/libstdcxx/foo.a;optimized;${HUNTER_BASE}/Install/libstdcxx/food.a[1]: https://github.com/ruslo/polly#defaultcmake
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.