Build the tests by default.
Fixes #143. There is no reason to make the tests optional.
This commit is contained in:
parent
963c5d0494
commit
cd65c459ec
@ -8,6 +8,7 @@ options. The project adheres to semantic versioning.
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
* Allow integers to have leading zeroes.
|
* Allow integers to have leading zeroes.
|
||||||
|
* Build the tests by default.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ project(cxxopts VERSION "${VERSION}")
|
|||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
||||||
option(CXXOPTS_BUILD_EXAMPLES "Set to ON to build examples" ON)
|
option(CXXOPTS_BUILD_EXAMPLES "Set to ON to build examples" ON)
|
||||||
option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" OFF)
|
option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" ON)
|
||||||
|
|
||||||
# request c++11 without gnu extension for the whole project and enable more warnings
|
# request c++11 without gnu extension for the whole project and enable more warnings
|
||||||
if (CXXOPTS_CXX_STANDARD)
|
if (CXXOPTS_CXX_STANDARD)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user