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