Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Side by Side Diff: lib/CMakeLists.txt

Issue 77133005: Use wildcard for libcxxabi file list (Closed) Base URL: https://git.chromium.org/git/native_client/pnacl-libcxx.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 )
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698