2017-10-14 20:45:57 +08:00
|
|
|
include(vcpkg_common_functions)
|
2019-05-03 13:57:43 +08:00
|
|
|
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2019-07-18 15:09:07 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO electronicarts/EABase
|
|
|
|
REF 6f27a2f7aa21f2d71ae8c6bc1d889d0119677a56
|
|
|
|
SHA512 9176fb2d508cf023c3c16c61a511196a2f6af36172145544bba44062a00ca7591e54e4fc16ac13562ef0e2d629b626f398bff3669b4cdb7ba0068548d6a53883
|
|
|
|
HEAD_REF master
|
|
|
|
PATCHES
|
|
|
|
fix_uwp.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
set(EABASE_PATH ${SOURCE_PATH})
|
|
|
|
|
2017-10-14 20:45:57 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO electronicarts/EASTL
|
2019-08-21 02:23:18 +08:00
|
|
|
REF 3.14.01
|
|
|
|
SHA512 efc03bdd4b6371b3fb4b75cac31ce3081290e9177453914a4fbb601d1ba44d65a86f2e98b7b27efbd985f37bd59a80169cf58beb3a32e5b3672ea2a2d6dd78d1
|
2017-10-14 20:45:57 +08:00
|
|
|
HEAD_REF master
|
2019-07-18 15:09:07 +08:00
|
|
|
PATCHES
|
|
|
|
fix_cmake_install.patch
|
2017-10-14 20:45:57 +08:00
|
|
|
)
|
|
|
|
|
2019-07-18 15:09:07 +08:00
|
|
|
file(COPY ${EABASE_PATH}/include/Common/EABase/ DESTINATION ${SOURCE_PATH}/test/packages/EABase)
|
|
|
|
|
2017-10-14 20:45:57 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
2019-07-18 15:09:07 +08:00
|
|
|
OPTIONS
|
|
|
|
-DEASTL_BUILD_TESTS=OFF
|
|
|
|
-DEASTL_BUILD_BENCHMARK=OFF
|
2017-10-14 20:45:57 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/eastl RENAME copyright)
|
|
|
|
file(INSTALL ${SOURCE_PATH}/3RDPARTYLICENSES.TXT DESTINATION ${CURRENT_PACKAGES_DIR}/share/eastl)
|