2013-11-15 19:34:43 +01:00
|
|
|
if (NOT LIBCXX_INSTALL_SUPPORT_HEADERS)
|
|
|
|
set(LIBCXX_SUPPORT_HEADER_PATTERN PATTERN "support" EXCLUDE)
|
|
|
|
endif()
|
2014-10-23 18:51:12 +02:00
|
|
|
set(LIBCXX_HEADER_PATTERN
|
2013-11-15 19:34:43 +01:00
|
|
|
PATTERN "*"
|
|
|
|
PATTERN "CMakeLists.txt" EXCLUDE
|
|
|
|
PATTERN ".svn" EXCLUDE
|
|
|
|
${LIBCXX_SUPPORT_HEADER_PATTERN}
|
2014-10-23 18:51:12 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY .
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/include/c++/v1"
|
|
|
|
FILES_MATCHING
|
|
|
|
${LIBCXX_HEADER_PATTERN}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(DIRECTORY .
|
|
|
|
DESTINATION include/c++/v1
|
|
|
|
FILES_MATCHING
|
|
|
|
${LIBCXX_HEADER_PATTERN}
|
2014-06-24 22:32:11 +02:00
|
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
|
2013-11-15 19:34:43 +01:00
|
|
|
)
|