vcpkg/ports/veigar/portfile.cmake

27 lines
800 B
CMake
Raw Normal View History

[veigar] Add new port. (#35327) * [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 * [veigar] Add a new port. * [veigar] Add a new port. * [veigar] Add veigar.json * [veigar] Fix compile issue. * [veigar] Update Code. * [veigar] Fix bug. * [veigar] Update veigar.json * Fix compilation failures on non-windows platforms. * [veigar] overwrite-version * [veigar] Fix compilation failures on non-windows platforms. * [veigar] Fix compilation failures on non-windows platforms. * [veigar] Add support platform. * [veigar] overwrite-version * [veigar] Add license. * [veigar] Add license. * [veigar] Use ${VERSION} * [veigar] Use ${VERSION} * [veigar] Update code REF. * [veigar] run .\vcpkg.exe x-add-version veigar --overwrite-version * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Not support uwp. * [veigar] Not support uwp. * [veigar] Fix bug. * [veigar] Fix bug. * [veigar] Update to 1.2 * [veigar] Update to 1.2 * [veigar] Update format. * [veigar] Update format. * [veigar] Update format. * [veigar] Remove debug share files. * [veigar] Remove debug share files. * [veigar] Update version. * [veigar] Update version. --------- 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>
2023-12-12 20:17:47 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO winsoft666/veigar
HEAD_REF master
2024-06-25 09:40:40 +08:00
REF "${VERSION}"
SHA512 dce0312bd5792e1c4a084b23c331bb5b30459b8e43b325e630800e2ebe929099defb000c889bd09ab94b2417b0169614465c11ca9ed845236542a6c36b9947fc
[veigar] Add new port. (#35327) * [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 * [veigar] Add a new port. * [veigar] Add a new port. * [veigar] Add veigar.json * [veigar] Fix compile issue. * [veigar] Update Code. * [veigar] Fix bug. * [veigar] Update veigar.json * Fix compilation failures on non-windows platforms. * [veigar] overwrite-version * [veigar] Fix compilation failures on non-windows platforms. * [veigar] Fix compilation failures on non-windows platforms. * [veigar] Add support platform. * [veigar] overwrite-version * [veigar] Add license. * [veigar] Add license. * [veigar] Use ${VERSION} * [veigar] Use ${VERSION} * [veigar] Update code REF. * [veigar] run .\vcpkg.exe x-add-version veigar --overwrite-version * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Update support platform. * [veigar] Not support uwp. * [veigar] Not support uwp. * [veigar] Fix bug. * [veigar] Fix bug. * [veigar] Update to 1.2 * [veigar] Update to 1.2 * [veigar] Update format. * [veigar] Update format. * [veigar] Update format. * [veigar] Remove debug share files. * [veigar] Remove debug share files. * [veigar] Update version. * [veigar] Update version. --------- 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>
2023-12-12 20:17:47 +08:00
)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" VEIGAR_USE_STATIC_CRT)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DVEIGAR_USE_STATIC_CRT:BOOL=${VEIGAR_USE_STATIC_CRT}
-DVEIGAR_BUILD_TESTS:BOOL=OFF
-DVEIGAR_BUILD_EXAMPLES:BOOL=OFF
)
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()