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
This commit is contained in:
Lars Melchior
2019-06-22 13:31:32 +02:00
committed by GitHub
parent 1e25367c8c
commit 3d75ed06a3
10 changed files with 113 additions and 11 deletions

View File

@@ -126,7 +126,6 @@ CPMAddPackage(
CPMAddPackage(
NAME doctest
GITHUB_REPOSITORY onqtam/doctest
VERSION 2.3.2
GIT_TAG 2.3.2
)
```
@@ -205,7 +204,8 @@ CPMAddPackage(
CPMAddPackage(
NAME lua
GIT_REPOSITORY https://github.com/lua/lua.git
VERSION 5-3-4
GIT_TAG v5-3-4
VERSION 5.3.4
DOWNLOAD_ONLY YES
)