forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[boringssl] update to newer commit (microsoft#18604)
* [boringssl] update to newer commit * update version
- Loading branch information
1 parent
b504547
commit 3b58466
Showing
6 changed files
with
55 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
diff --git i/CMakeLists.txt w/CMakeLists.txt | ||
index 75bf9981b..15589a760 100644 | ||
--- i/CMakeLists.txt | ||
+++ w/CMakeLists.txt | ||
@@ -564,7 +564,7 @@ endif() | ||
|
||
# Add minimal googletest targets. The provided one has many side-effects, and | ||
# googletest has a very straightforward build. | ||
-add_library(boringssl_gtest third_party/googletest/src/gtest-all.cc) | ||
+add_library(boringssl_gtest STATIC third_party/googletest/src/gtest-all.cc) | ||
target_include_directories(boringssl_gtest PRIVATE third_party/googletest) | ||
|
||
include_directories(third_party/googletest/include) | ||
@@ -621,3 +621,18 @@ add_custom_target( | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
DEPENDS all_tests bssl_shim handshaker | ||
${MAYBE_USES_TERMINAL}) | ||
+ | ||
+install(TARGETS crypto ssl | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib) | ||
+ | ||
+option(INSTALL_HEADERS "Install headers" ON) | ||
+if(INSTALL_HEADERS) | ||
+ install(DIRECTORY include/ DESTINATION include) | ||
+endif() | ||
+ | ||
+option(INSTALL_TOOLS "Install bssl executable" OFF) | ||
+if(INSTALL_TOOLS) | ||
+ install(TARGETS bssl DESTINATION tools/boringssl) | ||
+endif() | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 893bca7..83ff477 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -562,7 +562,7 @@ endif() | ||
# Add minimal googletest targets. The provided one has many side-effects, and | ||
# googletest has a very straightforward build. | ||
-add_library(boringssl_gtest third_party/googletest/src/gtest-all.cc) | ||
+add_library(boringssl_gtest STATIC third_party/googletest/src/gtest-all.cc) | ||
target_include_directories(boringssl_gtest PRIVATE third_party/googletest) | ||
include_directories(third_party/googletest/include) | ||
@@ -649,3 +649,18 @@ add_custom_target( | ||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} | ||
DEPENDS all_tests bssl_shim handshaker fips_specific_tests_if_any | ||
USES_TERMINAL) | ||
+ | ||
+install(TARGETS crypto ssl | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib) | ||
+ | ||
+option(INSTALL_HEADERS "Install headers" ON) | ||
+if(INSTALL_HEADERS) | ||
+ install(DIRECTORY include/ DESTINATION include) | ||
+endif() | ||
+ | ||
+option(INSTALL_TOOLS "Install bssl executable" OFF) | ||
+if(INSTALL_TOOLS) | ||
+ install(TARGETS bssl DESTINATION tools/boringssl) | ||
+endif() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "boringssl", | ||
"version-date": "2021-06-23", | ||
"description": "BoringSSl is a fork of OpenSSL developed by Google", | ||
"homepage": "https://boringssl.googlesource.com/boringssl", | ||
"supports": "!uwp", | ||
"features": { | ||
"tools": { | ||
"description": "Build bssl executable" | ||
} | ||
} | ||
} |
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