Leonardo
5e0c3855c7
Implemented spdlog library example ( #150 )
2020-09-08 14:08:35 +02:00
Lars Melchior
f96cff720e
switch to on-demand download script as the recommended way to get CPM.cmake ( #147 )
2020-08-20 10:31:08 +02:00
Lars Melchior
c3c7e2d9a3
add on-demand download script to release ( #146 )
v0.27.3
2020-08-20 09:32:03 +02:00
Lars Melchior
30b98af416
Add link to tutorial ( #143 )
2020-08-12 13:41:40 +02:00
Lars Melchior
5063c7d992
Add built with CPM.cmake section ( #142 )
...
* add built with cpm.cmake section
* update text
* explicitly set width
2020-08-11 14:49:21 +02:00
Lars Melchior
3cfb309f3c
add comparisons to other approaches ( #141 )
2020-08-11 12:49:37 +02:00
Lars Melchior
25603ac4ad
Update publish script to set CPM.cmake version automatically ( #139 )
...
* update publish script to set CPM.cmake version automatically
* set a minimum development version to avoid deprecated error handler call
2020-08-04 13:12:35 +02:00
Lars Melchior
ac872f6908
Bump version and add gitlab source to examples ( #138 )
...
* use gitlab as source for example library
* bump CPM.cmake version
v0.27.2
2020-08-04 12:24:06 +02:00
jecassis
bd14ccbd5a
Fix indeterminate command for GitLab argument ( #137 )
2020-08-04 11:40:58 +02:00
Kingsley Chen
f8afae6eb3
Add asio standalone example ( #133 )
...
* Add asio standalone example
* Mark VERSION explicitly
Without this version information, CPM's versioning mechanism may break
in some cases.
Also add comments for compile definition on Windows.
* Use aync-tcp-echo-server as the example
* Add boost software license to the demo source
Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com >
Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com >
2020-06-24 12:40:12 +02:00
Lars Melchior
9ec279c75f
bump version and update tests ( #131 )
v0.27.1
2020-06-15 10:16:30 +02:00
Kingsley Chen
392b2a864b
Use shallow clone for git repositories by default ( #129 ) ( #130 )
...
* Use shallow clone for git repositories by default (#129 )
* use shallow clone for git repositories by default
* remove trailing spaces
* Enable shallow clone for actual tags
* Support short commit hash
* Enable shallow only when downloading dependencies into cache
* Always honor user specified GIT_SHALLOW opiton
2020-06-15 09:27:26 +02:00
Lars Melchior
139d3cacba
Add NO_CACHE option ( #128 )
...
* add NO_CACHE option
* add unit test
v0.27
2020-06-04 14:22:57 +02:00
Lars Melchior
b31063d2ae
prevent overriding declarations ( #127 )
v0.26.2
2020-05-29 16:08:41 +02:00
Lars Melchior
4425bd38cf
Add FORCE parameter ( #126 )
...
* add scope protection
* rename to cpm_clean_argument_scope and update patch version
* undo unnecessary scope cleaning
* undo some changes
* consistent define checks
v0.26.1
2020-05-29 15:37:49 +02:00
Lars Melchior
6da5c38dae
Add package lock section to the readme ( #125 )
...
* add package lock section to the readme
* clarify position of package lock
2020-05-29 12:24:55 +02:00
Lars Melchior
76d7b27459
Fix typo and wording ( #124 )
...
* Fix typo
* Update README.md
2020-05-29 10:15:09 +02:00
Lars Melchior
54a2d80d1e
Add option for local package override ( #123 )
...
* add option for local package override
* print info on the source directory
v0.26
2020-05-29 09:58:39 +02:00
Lars Melchior
829262cbd3
omit unversioned and local dependencies in package lock ( #122 )
...
* omit unversioned and local dependencies in package lock
* update package lock for active project only
v0.25.1
2020-05-28 13:29:25 +02:00
Lars Melchior
4aeea1d31d
Add package lock ( #121 )
...
* add package lock creation
* change target name
* fix cpm_export_variables
* add test
* fix git repo detection addition
* remove test package lock from git
* add link to package lock wiki
* add CPMGetPackage
v0.25
2020-05-27 19:07:06 +02:00
Lars Melchior
58365446f5
fix DOWNLOAD_ONLY option when used with CPMFindPackage ( #120 )
v0.24
2020-05-19 20:47:12 +02:00
Johel Ernesto Guerrero Peña
4937617ef1
Use STREQUAL rather than MATCHES <regex> ( #116 )
2020-05-10 11:21:07 +02:00
Lars Melchior
6f053907f5
check if package added before find_package ( #115 )
v0.23
2020-05-07 23:54:10 +02:00
Ryan Mast
84b31b560a
Fix wiki link to preparing projects for CPM.cmake ( #114 )
2020-04-30 09:45:12 +02:00
Lars Melchior
3fff3ca70d
Call FetchContent_GetProperties before DOWNLOAD_ONLY population ( #113 )
...
* call FetchContent_GetProperties before checking populated
* fix old CPM.cmake links
* update description
* bump version
v0.22
2020-04-29 12:40:12 +02:00
Lars Melchior
ca33abc236
create FindXXX.cmake modules for added CPM packages ( #112 )
...
* create FindXXX.cmake modules for added CPM packages
* don't use list(PREPEND) as it unsupported on older CMake versions
* use CMAKE_BINARY_DIR
* ensure CPM.cmake is initialized only once
* import CPM.cmake in modules
v0.21
2020-04-29 09:18:54 +02:00
Giuseppe Cesarano
119eaee84d
Fixed link in README.md ( #111 )
...
The section `Adding CPM` was poiting to non exinsting wiki page
2020-04-26 16:44:16 +02:00
Lars Melchior
00b5e80f88
Fix offline cache support ( #110 )
...
* use cmake -E true as empty command
* use cmake without arguments as valid empty command
v0.20
2020-04-25 01:27:27 +02:00
Lars Melchior
618cdefa0d
Support CPM_SOURCE_CACHE on windows ( #109 )
...
* use semicolon as empty command and add test
* remove platform specific test coverage
* only run actions for pushes and prs into master (avoid duplication)
* remove cache test as it's already part of the test suite
* update version
* test cache reuse
2020-04-25 00:51:18 +02:00
Lars Melchior
464ba554c2
suppress package not found warning in CPMFindPackage ( #103 )
v0.18
2020-04-14 09:35:31 +02:00
Lars Melchior
90558aa9cb
Add GitHub action to publish CPM on release ( #102 )
...
* add github action to publish cpm on release
* add checkout step
* update readme
2020-03-16 20:37:30 +01:00
Lars Melchior
95c5426d25
remove code artifact from previous PR ( #101 )
2020-03-16 20:09:15 +01:00
Lars Melchior
cea81872cf
Add fmt example and document version from git tag ( #100 )
...
* add VERSION_PREFIX argument
* add fmt example
* add VERSION_PREFIX note to readme
* rollback, add info about determining version from git tag
* rollback version
2020-03-16 20:00:30 +01:00
Lars Melchior
01b69aad82
add support for SOURCE_DIR argument ( #97 )
...
* add support for SOURCE_DIR argument
* simplify code
* add test
* update comment
v0.17
2020-02-25 13:29:21 +01:00
Lars Melchior
775a235880
default to "ON" for options without explicit value definition ( #96 )
...
* default to "ON" for options without explicit value definition
* increment CPM version
* compare the correct lengths
v0.16
2020-02-06 11:50:55 +01:00
Lars Melchior
f8d4e959bb
abort when nested (bugfix) ( #94 )
...
* abort when nested (bugfix)
* update error message
* update error message
v0.15.1
2019-10-25 20:52:22 +02:00
Lars Melchior
4c7aa36dff
Update README.md
2019-10-25 16:01:47 +02:00
Lars Melchior
3a4516265c
Add GitHub workflows ( #93 )
...
* add mac workflow
* rename and add windows and ubuntu workflows
* update tests
* update tests
* update travis
2019-10-24 18:14:58 +02:00
Lars Melchior
47bfb554ab
reorganise source and add CPMFindPackage ( #92 )
...
* reorganise source and add CPMFindPackage
* add consistent find_package behaviour
* document CPMFindPackage
* reset examples to CPMAddPackage unless tested
* update version
* update README.md
* Update README.md
v0.15
2019-10-24 15:42:25 +02:00
Lars Melchior
0a8a65df32
Update README.md ( #90 )
2019-10-19 15:45:19 +02:00
Lars Melchior
a2800dc96c
Update for new repo name (old URLs are still valid) ( #89 )
...
* Update for new repo name (old URL is still valid)
* Update README.md
2019-10-18 11:53:36 +02:00
Lars Melchior
7638be873a
Add Ccache.cmake link ( #88 )
2019-10-14 17:12:33 +02:00
Lars Melchior
d1a1b70d4a
update readme ( #87 )
2019-10-14 12:55:47 +02:00
Lars Melchior
4064a45552
Add CPM_SOURCE_CACHE environmental variable support and keep existing sources ( #83 )
...
* read CPM_SOURCE_CACHE from environment
* update readme
* cleanup
* add cache tests
v0.14
2019-10-10 20:13:10 +02:00
Paul T
b1855e9275
Feature/cereal example ( #85 )
...
* Added GTest (googletest) Example
The examples tests the Fibonacci library similar to the doctest example.
* Add Example for the cereal library.
* Update examples/cereal/CMakeLists.txt
Co-Authored-By: Lars Melchior <TheLartians@users.noreply.github.com >
* Remove Test Coverage Code
* Remove Test Coverage Option
2019-10-09 15:30:59 +02:00
Paul T
5191b4c703
Added GTest (googletest) Example ( #84 )
...
* Added GTest (googletest) Example
The examples tests the Fibonacci library similar to the doctest example.
* Update examples/gtest/CMakeLists.txt
Co-Authored-By: Lars Melchior <TheLartians@users.noreply.github.com >
2019-10-09 14:50:27 +02:00
Lars Melchior
8625173d8f
add CPM_SOURCE_ROOT option ( #81 )
...
* add CPM_SOURCE_ROOT option
* update version and readme
v0.13
2019-10-07 16:34:07 +02:00
Lars Melchior
504761fbf2
add EnTT example ( #78 )
2019-09-06 11:52:18 +02:00
Lars Melchior
8b92bb46cd
Add more readme links to the wiki ( #77 )
...
* Add readme link to snippets
* Update README.md
2019-08-16 11:12:11 +02:00
Paul T
88278a4f70
Add Blurb on Including CPM ( #76 )
...
* Add Blurb on Including CPM
Added demo cmake code to auto download CPM from github.
* Remove Section in favor of including a link to a wiki page.
2019-08-15 19:34:21 +02:00