mirror of
https://github.com/microsoft/GSL.git
synced 2025-02-17 23:33:49 -05:00
Add CMake install target for header files
This commit is contained in:
parent
3dfda0cfde
commit
7505111329
@ -2,10 +2,21 @@ cmake_minimum_required(VERSION 2.8.7)
|
||||
|
||||
project(GSL CXX)
|
||||
|
||||
set(GSL_HEADERS
|
||||
"include/gsl.h"
|
||||
"include/gsl_assert.h"
|
||||
"include/span.h"
|
||||
"include/string_span.h"
|
||||
)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
install(FILES ${GSL_HEADERS}
|
||||
DESTINATION include/gsl
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
|
||||
add_subdirectory(tests)
|
||||
|
Loading…
x
Reference in New Issue
Block a user