GSL/CMakeLists.txt

27 lines
389 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 2.8.7)
2015-08-20 21:09:14 -04:00
project(GSL CXX)
2015-08-20 21:09:14 -04:00
set(GSL_HEADERS
"gsl/gsl"
"gsl/gsl_assert"
2016-08-24 13:01:42 -04:00
"gsl/gsl_byte"
"gsl/gsl_util"
"gsl/multi_span"
"gsl/span"
"gsl/string_span"
2016-11-17 13:45:06 -05:00
"gsl/gsl_algorithm"
)
2015-08-20 21:09:14 -04:00
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
install(FILES ${GSL_HEADERS}
DESTINATION include/gsl
)
2015-08-20 21:09:14 -04:00
enable_testing()
add_subdirectory(tests)