2017-07-12 18:07:36 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO artyom-beilis/cppcms
|
[many ports] Updates 2019.05.24 (#6618)
* [many ports] Updates 2019.05.24
* Update SHA512 and resolve conflict for ebml and matroska
* [avro-c]Fix build error caused by jansson upgrades.
* [xxhash]Update to the next version to fix build error.(xxhash issue:#179)
* Fix failures and undo asio
* [libyaml, grpc, miniz, paho-mqtt, sqlitecpp] Update patches
* Update REF
* Undo nvtt flann itk libtins aws-sdk-cpp openvdb vlpp xmsh changes
* [flann, fastcdr] Fix old patches and build error.
* [flann, fastcdr] Fix build error.
* Fix ensmallen uvatlas cppcms libplist failures and undo aws-c-common libopusenc arb taglib changes
* [dcmtk, draco, flatbuffers, forge, ftgl, mosquitto,nmslib, ogre] Update old patches and fix build error.
* fix libusbmuxd failures and undo xxhash paho-mqtt mongo-c-driver flann libffi
* fix libimobiledevice and undo qhull harfbuzz lcm libbson draco flatbuffers
* undo libmupdf forge kd-soap qca
* [mosquitto] Fix installation of import libs
* [arb][asio][aws-c-common][collada-dom][concurrentqueue][cryptopp][ebml] Revert trivial/undesired changes
* [fastcdr] Minimize patch
* [many ports] Revert trivial changes
* [libyaml] Switch to non-dist tag
* [sqlite-modern-cpp] Track master due to infrequent release
* [nano-signal-slot] Revert downgrade
* [openvpn3] Bump control version to account for portfile change
* [sqlite-modern-cpp] Fixup wrong hash
* [mosquitto] Commit missing patch
2019-06-10 17:01:54 -07:00
|
|
|
REF b72b19915794d1af63c9a9e9bea58e20a4ad93d4
|
2020-05-27 11:40:27 +08:00
|
|
|
SHA512 e99d34d14fbde22be725ac2c0bec069fb584e45c66767af75efaf454ca61a7a5e57434bf86109f910884c72202b8cf98fe16505e7d3d30d9218abd4d8b27d5df
|
2022-06-18 00:48:09 +02:00
|
|
|
PATCHES
|
2023-12-12 10:28:04 +01:00
|
|
|
dependencies.diff
|
|
|
|
dllexport.diff
|
2022-06-18 00:48:09 +02:00
|
|
|
no-tests-and-examples.patch
|
2022-08-10 20:23:31 +02:00
|
|
|
fix_narrowing_error.patch
|
2017-07-12 18:07:36 +02:00
|
|
|
)
|
|
|
|
|
2023-12-12 10:28:04 +01:00
|
|
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" DISABLE_SHARED)
|
|
|
|
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" DISABLE_STATIC)
|
2022-06-18 00:48:09 +02:00
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-01-06 23:30:36 -05:00
|
|
|
OPTIONS
|
2023-12-12 10:28:04 +01:00
|
|
|
-DCMAKE_CXX_STANDARD=11
|
|
|
|
-DPYTHON=:
|
2021-01-06 23:30:36 -05:00
|
|
|
-DUSE_WINDOWS6_API=ON
|
2023-12-12 10:28:04 +01:00
|
|
|
-DDISABLE_SHARED=${DISABLE_SHARED}
|
|
|
|
-DDISABLE_STATIC=${DISABLE_STATIC}
|
|
|
|
-DDISABLE_GCRYPT=ON
|
|
|
|
-DDISABLE_ICONV=ON
|
2017-07-12 18:07:36 +02:00
|
|
|
)
|
|
|
|
|
2022-06-18 00:48:09 +02:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2023-12-12 10:28:04 +01:00
|
|
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
|
|
|
foreach(script IN ITEMS cppcms_tmpl_cc cppcms_run)
|
|
|
|
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/${script}" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/${script}")
|
|
|
|
file(REMOVE "${CURRENT_PACKAGES_DIR}/debug/bin/${script}")
|
|
|
|
endforeach()
|
2022-06-18 00:48:09 +02:00
|
|
|
vcpkg_copy_tools(TOOL_NAMES cppcms_scale cppcms_make_key cppcms_config_find_param AUTO_CLEAN)
|
2017-07-12 18:07:36 +02:00
|
|
|
|
2022-06-18 00:48:09 +02:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2017-07-12 18:07:36 +02:00
|
|
|
|
2023-12-12 10:28:04 +01:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/MIT.TXT" "${SOURCE_PATH}/THIRD_PARTY_SOFTWARE.TXT")
|