| OLD | NEW |
| 1 # Get sources | 1 # Get sources |
| 2 file(GLOB LIBCXX_SOURCES ../src/*.cpp) | 2 file(GLOB LIBCXX_SOURCES ../src/*.cpp) |
| 3 |
| 3 # @LOCALMOD-START Bake libcxxabi into the libcxx build. | 4 # @LOCALMOD-START Bake libcxxabi into the libcxx build. |
| 4 list(APPEND LIBCXX_SOURCES | 5 file(GLOB LIBCXXABI_SOURCES ../../libcxxabi/src/*.cpp) |
| 5 ../../libcxxabi/src/abort_message.cpp | 6 list(APPEND LIBCXX_SOURCES ${LIBCXXABI_SOURCES}) |
| 6 ../../libcxxabi/src/cxa_aux_runtime.cpp | |
| 7 ../../libcxxabi/src/cxa_default_handlers.cpp | |
| 8 ../../libcxxabi/src/cxa_demangle.cpp | |
| 9 ../../libcxxabi/src/cxa_exception.cpp | |
| 10 ../../libcxxabi/src/cxa_exception_storage.cpp | |
| 11 ../../libcxxabi/src/cxa_guard.cpp | |
| 12 ../../libcxxabi/src/cxa_handlers.cpp | |
| 13 ../../libcxxabi/src/cxa_new_delete.cpp | |
| 14 ../../libcxxabi/src/cxa_personality.cpp | |
| 15 ../../libcxxabi/src/cxa_unexpected.cpp | |
| 16 ../../libcxxabi/src/cxa_vector.cpp | |
| 17 ../../libcxxabi/src/cxa_virtual.cpp | |
| 18 ../../libcxxabi/src/exception.cpp | |
| 19 ../../libcxxabi/src/private_typeinfo.cpp | |
| 20 ../../libcxxabi/src/stdexcept.cpp | |
| 21 ../../libcxxabi/src/typeinfo.cpp | |
| 22 ) | |
| 23 # @LOCALMOD-END | 7 # @LOCALMOD-END |
| 24 | 8 |
| 25 if(WIN32) | 9 if(WIN32) |
| 26 file(GLOB LIBCXX_WIN32_SOURCES ../src/support/win32/*.cpp) | 10 file(GLOB LIBCXX_WIN32_SOURCES ../src/support/win32/*.cpp) |
| 27 list(APPEND LIBCXX_SOURCES ${LIBCXX_WIN32_SOURCES}) | 11 list(APPEND LIBCXX_SOURCES ${LIBCXX_WIN32_SOURCES}) |
| 28 endif() | 12 endif() |
| 29 | 13 |
| 30 # Add all the headers to the project for IDEs. | 14 # Add all the headers to the project for IDEs. |
| 31 if (MSVC_IDE OR XCODE) | 15 if (MSVC_IDE OR XCODE) |
| 32 file(GLOB_RECURSE LIBCXX_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/../include/*) | 16 file(GLOB_RECURSE LIBCXX_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/../include/*) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 LIBRARY DESTINATION lib | 68 LIBRARY DESTINATION lib |
| 85 ARCHIVE DESTINATION lib | 69 ARCHIVE DESTINATION lib |
| 86 ) | 70 ) |
| 87 | 71 |
| 88 install(DIRECTORY ../include/ | 72 install(DIRECTORY ../include/ |
| 89 DESTINATION include/c++/v1 | 73 DESTINATION include/c++/v1 |
| 90 FILES_MATCHING | 74 FILES_MATCHING |
| 91 PATTERN "*" | 75 PATTERN "*" |
| 92 PATTERN ".svn" EXCLUDE | 76 PATTERN ".svn" EXCLUDE |
| 93 ) | 77 ) |
| OLD | NEW |