vcpkg/ports/veigar/portfile.cmake
winsoft666 f562387007
[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 04:17:47 -08:00

27 lines
798 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO winsoft666/veigar
HEAD_REF master
REF ${VERSION}
SHA512 f67f2ba3b059b734e8eaf56005dc3abd011949080591caf40a4a0f881257761e2eba9b40b1e1f3207881ab755e1ab8b4b29f17eb63e645be2c81d979fd6a87d0
)
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()