Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into better_hashmap
- Loading branch information
Showing
226 changed files
with
3,335 additions
and
1,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,8 @@ | ||
option (USE_LIBCXX "Use libc++ and libc++abi instead of libstdc++" ON) | ||
|
||
if (NOT USE_LIBCXX) | ||
target_link_libraries(global-libs INTERFACE -l:libstdc++.a -l:libstdc++fs.a) # Always link these libraries as static | ||
target_link_libraries(global-libs INTERFACE ${EXCEPTION_HANDLING_LIBRARY}) | ||
return() | ||
endif() | ||
|
||
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_LIBCPP_DEBUG=0") # More checks in debug build. | ||
|
||
if (NOT HAVE_LIBCXX AND NOT MISSING_INTERNAL_LIBCXX_LIBRARY) | ||
set (LIBCXX_LIBRARY cxx) | ||
set (LIBCXXABI_LIBRARY cxxabi) | ||
add_subdirectory(contrib/libcxxabi-cmake) | ||
add_subdirectory(contrib/libcxx-cmake) | ||
|
||
# Exception handling library is embedded into libcxxabi. | ||
|
||
set (HAVE_LIBCXX 1) | ||
endif () | ||
add_subdirectory(contrib/libcxxabi-cmake) | ||
add_subdirectory(contrib/libcxx-cmake) | ||
|
||
if (HAVE_LIBCXX) | ||
target_link_libraries(global-libs INTERFACE ${LIBCXX_LIBRARY} ${LIBCXXABI_LIBRARY} ${LIBCXXFS_LIBRARY}) | ||
# Exception handling library is embedded into libcxxabi. | ||
|
||
message (STATUS "Using libcxx: ${LIBCXX_LIBRARY}") | ||
message (STATUS "Using libcxxfs: ${LIBCXXFS_LIBRARY}") | ||
message (STATUS "Using libcxxabi: ${LIBCXXABI_LIBRARY}") | ||
else() | ||
target_link_libraries(global-libs INTERFACE -l:libstdc++.a -l:libstdc++fs.a) # Always link these libraries as static | ||
target_link_libraries(global-libs INTERFACE ${EXCEPTION_HANDLING_LIBRARY}) | ||
endif() | ||
target_link_libraries(global-libs INTERFACE cxx cxxabi) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.