C++ cleanup (#610)
authorTim Haines <thaines.astro@gmail.com>
Sun, 31 May 2020 23:36:07 +0000 (18:36 -0500)
committerGitHub <noreply@github.com>
Sun, 31 May 2020 23:36:07 +0000 (18:36 -0500)
commit952dae51a3b9ce9a84e20ea30f91ffe742060436
tree51c3f985ea00a57c6c7a81bcec3008aaf06f9895
parente627ffbf93af454792ca16471a26cb6d3b0c3bc7
C++ cleanup (#610)

* Delete old C++11 feature-checking CMake files

* Move C++ ABI check into cmake/c++11.cmake

* Use built-in CMake features for detecting C and C++ language support

* Rename cmake/c++11.cmake -> cmake/language_features.cmake

* Rename cmake/language_features.cmake -> cmake/LanguageStandards.cmake

* Use the LanguageStandards CMake module to set the C and C++ standards

* Add comments for CMake third-party library includes

* Whitespace cleanup in cmake/LanguageStandards.cmake
27 files changed:
CMakeLists.txt
cmake/CheckCXX11Features.cmake [deleted file]
cmake/CheckCXX11Features/cxx11-test-__func__.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-auto.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-auto_fail_compile.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-auto_ret_type.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-class_override_final.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-class_override_final_fail_compile.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-constexpr.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-cstdint.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-decltype.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-initializer_list.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-lambda.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-long_long.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-nullptr.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-nullptr_fail_compile.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-regex.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-rvalue-references.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-sizeof_member.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-sizeof_member_fail.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-static_assert.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-static_assert_fail_compile.cpp [deleted file]
cmake/CheckCXX11Features/cxx11-test-variadic_templates.cpp [deleted file]
cmake/LanguageStandards.cmake [new file with mode: 0644]
cmake/c++11.cmake [deleted file]
cmake/packages.cmake
cmake/shared.cmake