GSL/CMakeLists.txt
Casey Carter 4e8f95b418 Cleanup include structure, constexpr and noexcept compiler workarounds.
* Nest "gsl" directory inside a new "include" directory.

* Cleanup the _MSC_VER conditionals a bit; use constexpr on VS2017+.

* Don't #define noexcept on non-Microsoft implementations.

* Workaround VS2017 bug in multi_span. (Also implement == and != for static_bounds_dynamic_range_t because I'm an EoP semantic soundness snob.)

Fixes #441.
2017-02-07 15:59:37 -08:00

12 lines
160 B
CMake

cmake_minimum_required(VERSION 2.8.7)
project(GSL CXX)
install(
DIRECTORY include/gsl
DESTINATION include
)
enable_testing()
add_subdirectory(tests)