Skip to content

Releases: cpm-cmake/CPM.cmake

source cache fixes

24 Apr 23:28
00b5e80
Compare
Choose a tag to compare

CPM_SOURCE_CACHE should now work offline again and on windows.

v0.18

14 Apr 07:35
464ba55
Compare
Choose a tag to compare
suppress package not found warning in CPMFindPackage (#103)

First version using GitHub releases

16 Mar 19:20
Compare
Choose a tag to compare

From now on, the most recent version of CPM can be downloaded from the according GitHub release as opposed to pulling it from the master branch.

v0.17: add support for SOURCE_DIR argument (#97)

25 Feb 12:29
01b69aa
Compare
Choose a tag to compare
* add support for SOURCE_DIR argument

* simplify code

* add test

* update comment

Default option values

06 Feb 10:53
775a235
Compare
Choose a tag to compare

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.

Fixed update warning

25 Oct 18:53
f8d4e95
Compare
Choose a tag to compare

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

Add CPMFindPackage

24 Oct 13:43
47bfb55
Compare
Choose a tag to compare

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.

Cache downloaded sources

10 Oct 18:13
4064a45
Compare
Choose a tag to compare
  • Rename CPM_SOURCE_ROOT -> CPM_SOURCE_CACHE
  • Adds CPM_SOURCE_CACHE environmental variable support
  • Small updates to tests and Readme
  • Bugfixes

Add CPM_SOURCE_ROOT option

07 Oct 14:34
8625173
Compare
Choose a tag to compare
  • Adds CPM_SOURCE_ROOT to use cached downloads

Determine VERSION from GIT_TAG

22 Jun 11:32
3d75ed0
Compare
Choose a tag to compare
  • Added unit tests
  • Determine VERSION from GIT_TAG if not explicitly specified