CPM.cmake

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

MIT License

Stars
2.6K

Bot releases are visible (Hide)

CPM.cmake -

Published by TheLartians over 4 years ago

CPM.cmake - Default option values

Published by TheLartians over 4 years ago

From now on option keys without an explicit value provided are turned "On" by default. Previous versions would fail with a "string begin index out of range error". See #95 for details.

CPM.cmake - Fixed update warning

Published by TheLartians almost 5 years ago

Fixes a bug introduced in the v0.15 that broke configuration when a nested dependency has a newer CPM version than the outer project.

CPM.cmake - Add CPMFindPackage

Published by TheLartians almost 5 years ago

CPMFindPackage will always try to locate the package via find_package before downloading.
This should be compatible with C++ package managers that are invoked with find_package.

CPM.cmake - Cache downloaded sources

Published by TheLartians about 5 years ago

  • Rename CPM_SOURCE_ROOT -> CPM_SOURCE_CACHE
  • Adds CPM_SOURCE_CACHE environmental variable support
  • Small updates to tests and Readme
  • Bugfixes
CPM.cmake - Add CPM_SOURCE_ROOT option

Published by TheLartians about 5 years ago

  • Adds CPM_SOURCE_ROOT to use cached downloads
CPM.cmake - Determine VERSION from GIT_TAG

Published by TheLartians over 5 years ago

  • Added unit tests
  • Determine VERSION from GIT_TAG if not explicitly specified
CPM.cmake - v0.11

Published by TheLartians over 5 years ago

  • Added url shortcuts for Github and Gitlab
CPM.cmake - v0.10

Published by TheLartians over 5 years ago

  • Added the (DEPENDENCY)_ADDED property
CPM.cmake -

Published by TheLartians over 5 years ago

  • Dependency properties: (DEPENDENCY)_SOURCE_DIR and (DEPENDENCY)_BINARY_DIR
  • Better warning message when including a project with a newer version of CPM
  • More examples
  • More descriptive Readme
CPM.cmake -

Published by TheLartians over 5 years ago

  • Added version check
  • Added DOWNLOAD_ONLY option
CPM.cmake -

Published by TheLartians over 5 years ago

  • Bugfix
CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago

CPM.cmake -

Published by TheLartians over 5 years ago