mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 17:09:08 +08:00
b6d0c11ee6
* [teemo] Update to v2.7 * [teemo] Format manifest * [teemo] Update to v2.7 * [akali] Update to v1.43 * [akali] Update to v1.43 * [akali] Update to v1.43 * overwrite version * add license * overwrite version * [akali] Update string replace method. * [akali] run x-add-version command. * [cpp-ipc] Update to v1.2.0 * [cpp-ipc] Update to v1.2.0 * Add new port named zoe. * Add zoe to baseline. * Add zeo.json * [zoe] Update REF * [zoe] Update version. * [zoe] Add port version. * [zoe] run x-add-version --all * [zoe] Remove port-version * [zoe] Update port-version * [zoe] Update version * [zoe] Update code ref. * [zoe] Update git-version. * [zoe] Update portfile.cmake * [zoe] overwrite-version * [zoe] Update ref. * [zoe] overwrite-version * [zoe] Update portfile. * [zoe] overwrite-version * [zoe] Not support android. * [zoe] Update zoe.json * [crashrpt-lite] Add new port. * Format manifest files * [crashrpt-lite] Instead deprecated functions. * add crashrpt-lite.json * [crashrpt-lite] update version. * Remvoe crashrpt-lite * Remvoe crashrpt-lite * [zoe] Export cmake config files. * [zoe] Export cmake config files. * [zoe] Update git-tree. * [zoe] Add usage and config fixup. * [zoe] Update git-tree * [zoe] remove usage. * [zoe] Update git-tree * use new function * vdb --------- Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: admin <admin@windows.com> Co-authored-by: paipai <noexist@gmail.com> Co-authored-by: Frank <1433351828@qq.com>
29 lines
907 B
CMake
29 lines
907 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO winsoft666/zoe
|
|
HEAD_REF master
|
|
REF c4de5eef2139050dc6919170487bc5c5044c9fcf
|
|
SHA512 72e439b27405784878c1784fbac7308b021636231402e1fd88cfe3e850f0f539d726dc121278bbe3017aea613c6d4dff0a4034ad5488ebea06d681d81e4c8063
|
|
)
|
|
|
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ZOE_BUILD_SHARED_LIBS)
|
|
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" ZOE_USE_STATIC_CRT)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DZOE_BUILD_SHARED_LIBS:BOOL=${ZOE_BUILD_SHARED_LIBS}
|
|
-DZOE_USE_STATIC_CRT:BOOL=${ZOE_USE_STATIC_CRT}
|
|
-DZOE_BUILD_TESTS:BOOL=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/zoe)
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_copy_pdbs()
|