Add CPM_SOURCE_CACHE environmental variable support and keep existing sources (#83)

* read CPM_SOURCE_CACHE from environment

* update readme

* cleanup

* add cache tests
This commit is contained in:
Lars Melchior
2019-10-10 20:13:10 +02:00
committed by GitHub
parent b1855e9275
commit 4064a45552
28 changed files with 300 additions and 58 deletions

View File

@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(CPMJSONExample)
# ---- Dependencies ----
include(../../cmake/CPM.cmake)