update more examples to use shorthand syntax (#223)

* update more examples to use shorthand syntax

* revert google-benchmark as tests require googletest to be installed

* update comments

* always quote single-arguments

* undo accidental deletion
This commit is contained in:
Lars Melchior
2021-02-25 08:53:28 +01:00
committed by GitHub
parent a3d1048ad6
commit 8afc2af4f9
6 changed files with 14 additions and 48 deletions

View File

@@ -6,12 +6,7 @@ project(CPMExampleCXXOpts)
include(../../cmake/CPM.cmake)
CPMAddPackage(
NAME cxxopts
GITHUB_REPOSITORY jarro2783/cxxopts
VERSION 2.2.0
OPTIONS "CXXOPTS_BUILD_EXAMPLES Off" "CXXOPTS_BUILD_TESTS Off"
)
CPMAddPackage("gh:jarro2783/cxxopts@2.2.0")
# ---- Create binary ----