1 if (NOT LIBCXX_INSTALL_SUPPORT_HEADERS) 2 set(LIBCXX_SUPPORT_HEADER_PATTERN PATTERN "support" EXCLUDE) 3 endif() 4 5 file(COPY . 6 DESTINATION "${CMAKE_BINARY_DIR}/include/c++/v1" 7 FILES_MATCHING 8 PATTERN "*" 9 PATTERN "CMakeLists.txt" EXCLUDE 10 PATTERN ".svn" EXCLUDE 11 ${LIBCXX_SUPPORT_HEADER_PATTERN} 12 ) 13 14 install(DIRECTORY "${CMAKE_BINARY_DIR}/include/c++/v1/" 15 DESTINATION include/c++/v1/ 16 ) 17