2016-11-29 17:42:02 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
2017-09-26 06:35:41 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO miguelmartin75/anax
|
|
|
|
REF v2.1.0
|
|
|
|
SHA512 b573733b5f9634bf8cfc5b0715074f9a8ee29ecb48dc981d9371254a1f6ff8afbbb9ba6aa0877d53e518e5486ecc398a6d331fb9b5dbfd17d8707679216e11a3
|
|
|
|
HEAD_REF master
|
2019-04-06 00:38:26 +08:00
|
|
|
PATCHES
|
|
|
|
Add-bin-output.patch
|
2016-12-06 18:17:25 +08:00
|
|
|
)
|
|
|
|
|
2016-11-29 17:42:02 +08:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-04-06 00:38:26 +08:00
|
|
|
DISABLE_PARALLEL_CONFIGURE
|
2017-09-26 06:35:41 +08:00
|
|
|
OPTIONS
|
2019-04-06 00:38:26 +08:00
|
|
|
-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
|
2016-11-29 17:42:02 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/anax)
|
|
|
|
file(RENAME ${CURRENT_PACKAGES_DIR}/share/anax/LICENSE ${CURRENT_PACKAGES_DIR}/share/anax/copyright)
|
2017-09-26 06:35:41 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|