mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 05:27:51 +08:00
f904f7354d
* [scripts/boost] fix issue #20417 [boost-iostreams] replace explicit dependencies with default-features, allow to disable compression filters * add versions * [scripts/boost] update port version after #20421 * [boost-odeint] move boost-mpi dependency to the feature * add version * [boost-modular-build-helper] rework user-config generation * [boost-python] move python3 from explicit dependency to default feature * [boost-modular-build-helper] update version * add verions * [boost-modular-build-helper] fix empty flags * update version * Fix compilation on Emscripten / WebAssembly (#20551) * [opencv4,opencv3] Control exported protobuf dependency (#20550) * Control exported protobuf dependency * Update versions * Control exported protobuf dependency * Update versions * [OpenMVS] restore deprecated cmake scripts for configure, build & fixup targets (#20422) * [OpenMVS] restore deprecated cmake scripts * [OpenMVS] fix references * switch back to vcpkg_cmake_* Co-authored-by: nicole mazzuca <mazzucan@outlook.com> * [libffi] Don't replace string in file that doesn't exist. (#20554) * Don't replace string in file that doesn't exist. * Update per bot. * Update per bot again. * Address comments. * [json-dto] Update to 0.2.14 (#20570) * json-dto updated to v.0.2.14. * json-dto-0.2.14 added to baseline. * Change deprecated commands. * Update baseline for fresh json-dto-0.2.14. * [sail] Update to 0.9.0-pre17 (#20562) * [sail] Update to 0.9.0-pre17 * [sail] vcpkg x-add-version --all --overwrite-version * [sail] Update pre17 hash * [sail] vcpkg x-add-version --all --overwrite-version * [freexl] Update to 1.0.6 (#20520) * Reformat portfile * Minimize makefiles patch * Update to 1.0.6 * Fix uwp builds, remove skip from baseline * Install pc file for windows * Update versions Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> * [dartsim] Update to 6.11.0 (#20566) * Update dartsim * Use newer vcpkg functions * Update version number * Update ports/dartsim/portfile.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update versions Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * [scripts/boost] update Boost version in boost-modular-build.cmake to avoid manual changes * update version * [boost-modular-build-helper] fix USER_CONFIG_EXTRA_LINES variable name and rename generated files * update version * Resolve differences from rerunning generate-ports.ps1. Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Tobias Markus <tobbi.bugs@googlemail.com> Co-authored-by: Kai Pastor <dg0yt@darc.de> Co-authored-by: Stefano Sinigardi <stesinigardi@hotmail.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: Lars Glud <larshg@gmail.com> Co-authored-by: eao197 <eao197@users.noreply.github.com> Co-authored-by: Dmitry Baryshev <dmitrymq@gmail.com> Co-authored-by: Akash <Ace314159@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
86 lines
2.1 KiB
CMake
86 lines
2.1 KiB
CMake
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
set(lib_path_suffix lib)
|
|
else()
|
|
set(lib_path_suffix debug/lib)
|
|
endif()
|
|
|
|
if("bzip2" IN_LIST FEATURES)
|
|
list(APPEND B2_OPTIONS
|
|
-sBZIP2_INCLUDE="${CURRENT_INSTALLED_DIR}/include"
|
|
)
|
|
# Overwride debug library name
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
list(APPEND B2_OPTIONS
|
|
-sBZIP2_NAME=bz2d
|
|
)
|
|
endif()
|
|
list(APPEND B2_OPTIONS
|
|
-sBZIP2_LIBRARY_PATH="${CURRENT_INSTALLED_DIR}/${lib_path_suffix}"
|
|
)
|
|
else()
|
|
list(APPEND B2_OPTIONS
|
|
-sNO_BZIP2=1
|
|
)
|
|
endif()
|
|
|
|
if("lzma" IN_LIST FEATURES)
|
|
list(APPEND B2_OPTIONS
|
|
-sLZMA_INCLUDE="${CURRENT_INSTALLED_DIR}/include"
|
|
)
|
|
# Overwride debug library name
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
list(APPEND B2_OPTIONS
|
|
-sLZMA_NAME=lzmad
|
|
)
|
|
endif()
|
|
list(APPEND B2_OPTIONS
|
|
-sLZMA_LIBRARY_PATH="${CURRENT_INSTALLED_DIR}/${lib_path_suffix}"
|
|
)
|
|
else()
|
|
list(APPEND B2_OPTIONS
|
|
-sNO_LZMA=1
|
|
)
|
|
endif()
|
|
|
|
if("zlib" IN_LIST FEATURES)
|
|
list(APPEND B2_OPTIONS
|
|
-sZLIB_INCLUDE="${CURRENT_INSTALLED_DIR}/include"
|
|
)
|
|
# Overwride debug library name
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
if(WIN32)
|
|
set(ZLIB_NAME zlibd)
|
|
else()
|
|
set(ZLIB_NAME z)
|
|
endif()
|
|
list(APPEND B2_OPTIONS
|
|
-sZLIB_NAME=${ZLIB_NAME}
|
|
)
|
|
endif()
|
|
list(APPEND B2_OPTIONS
|
|
-sZLIB_LIBRARY_PATH="${CURRENT_INSTALLED_DIR}/${lib_path_suffix}"
|
|
)
|
|
else()
|
|
list(APPEND B2_OPTIONS
|
|
-sNO_ZLIB=1
|
|
)
|
|
endif()
|
|
|
|
if("zstd" IN_LIST FEATURES)
|
|
list(APPEND B2_OPTIONS
|
|
-sZSTD_INCLUDE="${CURRENT_INSTALLED_DIR}/include"
|
|
)
|
|
# Overwride debug library name
|
|
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
list(APPEND B2_OPTIONS
|
|
-sZSTD_NAME=zstdd
|
|
)
|
|
endif()
|
|
list(APPEND B2_OPTIONS
|
|
-sZSTD_LIBRARY_PATH="${CURRENT_INSTALLED_DIR}/${lib_path_suffix}"
|
|
)
|
|
else()
|
|
list(APPEND B2_OPTIONS
|
|
-sNO_ZSTD=1
|
|
)
|
|
endif() |