22 lines
499 B
CMake
22 lines
499 B
CMake
|
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
|
||
|
cmake_policy(SET CMP0048 NEW)
|
||
|
project(vectorwrapper VERSION 1.1.0)
|
||
|
|
||
|
if (BUILD_TESTS)
|
||
|
add_subdirectory(test)
|
||
|
endif()
|
||
|
|
||
|
configure_file(
|
||
|
include/vectorwrapper/vectorwrapper.hpp.in
|
||
|
${CMAKE_CURRENT_BINARY_DIR}/include/vectorwrapper/vectorwrapper.hpp
|
||
|
@ONLY
|
||
|
)
|
||
|
|
||
|
install(DIRECTORY include/vectorwrapper
|
||
|
DESTINATION include
|
||
|
PATTERN vectorwrapper.hpp.in EXCLUDE
|
||
|
)
|
||
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/vectorwrapper
|
||
|
DESTINATION include
|
||
|
)
|