17 lines
396 B
CMake
17 lines
396 B
CMake
|
if (NOT LIBCXX_INSTALL_SUPPORT_HEADERS)
|
||
|
set(LIBCXX_SUPPORT_HEADER_PATTERN PATTERN "support" EXCLUDE)
|
||
|
endif()
|
||
|
|
||
|
file(COPY .
|
||
|
DESTINATION "${CMAKE_BINARY_DIR}/include/c++/v1"
|
||
|
FILES_MATCHING
|
||
|
PATTERN "*"
|
||
|
PATTERN "CMakeLists.txt" EXCLUDE
|
||
|
PATTERN ".svn" EXCLUDE
|
||
|
${LIBCXX_SUPPORT_HEADER_PATTERN}
|
||
|
)
|
||
|
|
||
|
install(DIRECTORY "${CMAKE_BINARY_DIR}/include/c++/v1/"
|
||
|
DESTINATION include/c++/v1/
|
||
|
)
|