Commit cd65c459ec6fcce5baab2d1ca186ef099d412f5c

Authored by Jarryd Beck
1 parent 963c5d04

Build the tests by default.

Fixes #143. There is no reason to make the tests optional.
CHANGELOG.md
... ... @@ -8,6 +8,7 @@ options. The project adheres to semantic versioning.
8 8 ### Changed
9 9  
10 10 * Allow integers to have leading zeroes.
  11 +* Build the tests by default.
11 12  
12 13 ### Added
13 14  
... ...
CMakeLists.txt
... ... @@ -35,7 +35,7 @@ project(cxxopts VERSION "${VERSION}")
35 35 enable_testing()
36 36  
37 37 option(CXXOPTS_BUILD_EXAMPLES "Set to ON to build examples" ON)
38   -option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" OFF)
  38 +option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" ON)
39 39  
40 40 # request c++11 without gnu extension for the whole project and enable more warnings
41 41 if (CXXOPTS_CXX_STANDARD)
... ...