зеркало из https://github.com/microsoft/vcpkg.git
[log4cplus ] Normilize log4cplus unicode build (#14100)
This commit is contained in:
Родитель
3dbec6c255
Коммит
b1dea7104f
|
@ -1,5 +1,9 @@
|
|||
Source: log4cplus
|
||||
Version: 2.0.5
|
||||
Port-Version: 1
|
||||
Homepage: https://github.com/log4cplus/log4cplus
|
||||
Description: A simple to use C++ logging API providing thread--safe, flexible, and arbitrarily granular control over log management and configuration
|
||||
Build-Depends: catch
|
||||
|
||||
Feature: unicode
|
||||
Description: Unicode logger
|
||||
|
|
|
@ -23,13 +23,21 @@ file(
|
|||
DESTINATION ${SOURCE_PATH}/threadpool
|
||||
)
|
||||
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
unicode UNICODE
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DLOG4CPLUS_BUILD_TESTING=OFF
|
||||
-DLOG4CPLUS_BUILD_LOGGINGSERVER=OFF
|
||||
OPTIONS
|
||||
-DLOG4CPLUS_BUILD_TESTING=OFF
|
||||
-DLOG4CPLUS_BUILD_LOGGINGSERVER=OFF
|
||||
-DWITH_UNIT_TESTS=OFF
|
||||
-DLOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
@ -42,4 +50,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||
|
|
Загрузка…
Ссылка в новой задаче