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.
Merge pull request #1362 from microsoft/master
Merge from microsoft/vcpkg
- Loading branch information
Showing
78 changed files
with
748 additions
and
201 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
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
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,34 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 538cc8a..9221dab 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -25,6 +25,10 @@ option(test "Build all tests" OFF) | ||
option(build_static_lib "Build easyloggingpp as a static library" OFF) | ||
option(lib_utc_datetime "Build library with UTC date/time logging" OFF) | ||
|
||
+option(no_default_logfile "Do not write to default log file \"myeasylog.log\" (define ELPP_NO_DEFAULT_LOG_FILE)" OFF) | ||
+option(thread_safe "Build easyloggingpp thread safe (define ELPP_THREAD_SAFE)" OFF) | ||
+option(use_std_threads "Use standard library thread synchronization (define ELPP_FORCE_USE_STD_THREAD)" OFF) | ||
+ | ||
set(ELPP_MAJOR_VERSION "9") | ||
set(ELPP_MINOR_VERSION "96") | ||
set(ELPP_PATCH_VERSION "7") | ||
@@ -57,6 +61,18 @@ if (build_static_lib) | ||
add_definitions(-DELPP_UTC_DATETIME) | ||
endif() | ||
|
||
+ if (no_default_logfile) | ||
+ add_definitions(-DELPP_NO_DEFAULT_LOG_FILE) | ||
+ endif() | ||
+ | ||
+ if (thread_safe) | ||
+ add_definitions(-DELPP_THREAD_SAFE) | ||
+ endif() | ||
+ | ||
+ if (use_std_threads) | ||
+ add_definitions(-DELPP_FORCE_USE_STD_THREAD) | ||
+ endif() | ||
+ | ||
require_cpp11() | ||
add_library(easyloggingpp STATIC src/easylogging++.cc) | ||
set_property(TARGET easyloggingpp PROPERTY POSITION_INDEPENDENT_CODE ON) |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/libde265/CMakeLists.txt b/libde265/CMakeLists.txt | ||
index d0d6762..06e1660 100644 | ||
--- a/libde265/CMakeLists.txt | ||
+++ b/libde265/CMakeLists.txt | ||
@@ -114,7 +114,7 @@ endif() | ||
|
||
add_library(de265 ${libde265_sources} ${ENCODER_OBJECTS} ${X86_OBJECTS}) | ||
target_link_libraries(de265 PRIVATE Threads::Threads) | ||
-target_include_directories(de265 PRIVATE ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
+target_include_directories(de265 PRIVATE $<BUILD_INTERFACE:${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}> PUBLIC $<INSTALL_INTERFACE:include>) | ||
|
||
write_basic_package_version_file(libde265ConfigVersion.cmake COMPATIBILITY ExactVersion) | ||
|
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
The package libproxy provides CMake targets: | ||
|
||
find_package(libproxy CONFIG REQUIRED) | ||
find_package(libproxy REQUIRED) | ||
target_include_directories(main PRIVATE ${LIBPROXY_INCLUDE_DIR}) | ||
target_link_libraries(main PRIVATE ${LIBPROXY_LIBRARIES}) |
Oops, something went wrong.