File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ option(LIBCXX_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
38
38
option (LIBCXX_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF )
39
39
option (LIBCXX_ENABLE_CXX0X "Enable -std=c++0x and use of c++0x language features if the compiler supports it." ON )
40
40
option (LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON )
41
+ option (LIBCXX_INSTALL_SUPPORT_HEADERS "Install libc++ support headers." ON )
41
42
42
43
set (CXXABIS none libcxxabi libcxxrt libsupc++ )
43
44
if (NOT DEFINED LIBCXX_CXX_ABI )
Original file line number Diff line number Diff line change @@ -100,9 +100,15 @@ install(TARGETS cxx
100
100
ARCHIVE DESTINATION lib
101
101
)
102
102
103
+
104
+ if (NOT LIBCXX_INSTALL_SUPPORT_HEADERS )
105
+ set (LIBCXX_SUPPORT_HEADER_PATTERN PATTERN "support" EXCLUDE )
106
+ endif ()
107
+
103
108
install (DIRECTORY ../include/
104
109
DESTINATION include /c++/v1
105
110
FILES_MATCHING
106
111
PATTERN "*"
107
112
PATTERN ".svn" EXCLUDE
113
+ ${LIBCXX_SUPPORT_HEADER_PATTERN}
108
114
)
You can’t perform that action at this time.
0 commit comments