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
2020-05-27 19:07:06 +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
2020-04-29 09:18:54 +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
01b69aad82
add support for SOURCE_DIR argument ( #97 )
...
* add support for SOURCE_DIR argument
* simplify code
* add test
* update comment
2020-02-25 13:29:21 +01: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
2019-10-24 15:42:25 +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
2019-10-10 20:13:10 +02:00
Lars Melchior
25a9158448
Add boost example ( #70 )
...
* add unit tests
* added boost
* cleanup
* add pthread
* Update README.md
2019-07-01 20:30:21 +02:00
Lars Melchior
3d75ed06a3
add unit tests and determine version from GIT_TAG ( #66 )
...
* add unit tests
* determine package version from git tag. closes #54 .
* update readme
* bugfix
* update example
* update gitignore
2019-06-22 13:31:32 +02:00
Lars Melchior
11afa7a469
add complex test
2019-04-09 16:15:36 +02:00
Lars Melchior
5a56af6f06
update test
2019-04-09 15:51:25 +02:00
Lars Melchior
77ff8c59b7
create cmake dir
2019-04-09 15:31:31 +02:00
Lars Melchior
e620be2a5a
init
2019-04-09 15:29:07 +02:00