vcpkg/ports/pravila00-enum-string/portfile.cmake
Pravila 8941576c19
[pravila00-enum-string] New port (#34518)
* Add pravila00-enum-string

* Format vcpkg.json

* Add version

* Add version file

* Add missing comma

* Fix version

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/vcpkg.json

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update ports/pravila00-enum-string/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Rename port to enum-string

* Add version for enum-string

* Fix port name

* Update version

* Update port name

* Add version

---------

Co-authored-by: Pablo Rodriguez Avila <pabloro@microsoft.com>
Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
2023-10-19 10:51:28 -07:00

14 lines
471 B
CMake

# Header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Pravila00/enum-string
REF 3eec46f5520c287ee46692ea1d41833cbe0d80f2
SHA512 5b29c27b8ceb358bae5a2b4fb5d198b7b4cd8a7c9926bd7685c27650da5cda9f6dc85b6a9694fe151d03b22e3230d5f3faf9143e865dffc0795b2952fca5fc0f
HEAD_REF main
)
file(COPY "${SOURCE_PATH}/EnumString.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")