cxxopts/test
jpr89 c55726ee29
Cmake Revamp (#270)
* Cmake Revamp

I needed to do a variety of things to ensure cxxopts worked well in my own project.

I created a new cmake module to abstract a lot of the logic in the main CMakelists.txt, I think it really assists in the readability of the project. Consequently a lot of logic is now written in functions.

I made a lot of the project options off by default unless the project is being built standalone. As a frequent consumer of cmake libraries this is a huge issue. Since examples, tests, installation, etc. aren't things I expect/desired by default when using libraries.

Co-authored-by: Juan Ramos <juanr0911@gmail.com>
2021-01-17 12:11:02 +11:00
..
add-subdirectory-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
find-package-test Cmake overhaul (#53) 2017-06-23 18:38:42 +10:00
.gitignore ignore built files 2016-08-26 08:26:42 +10:00
catch.hpp add testing 2016-08-25 08:49:56 +10:00
CMakeLists.txt Cmake Revamp (#270) 2021-01-17 12:11:02 +11:00
link_a.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
link_b.cpp Cleanup uses of inline 2017-10-18 08:07:10 +11:00
main.cpp missing file 2017-05-31 17:57:27 +10:00
options.cpp Making sure that the library can compile without warnings even when crazy pedantic flags are set (#238) 2020-10-06 17:06:33 +11:00