2019-05-03 13:57:43 +08:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO DCMTK/dcmtk
|
[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-11 08:01:54 +08:00
|
|
|
REF 1967b13134308f311e6a827e616958c6a4da5bc9
|
|
|
|
SHA512 a63a773e339081720adb0f3260a3b21ee11cde8009b321c3f45eeb40402ff29bd580926fb44f0dd784ba8369e2597933196bdaa324517d91fa5201b11b7504c0
|
2019-05-03 13:57:43 +08:00
|
|
|
HEAD_REF master
|
|
|
|
PATCHES ${CMAKE_CURRENT_LIST_DIR}/dcmtk.patch
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
|
|
|
-DDCMTK_WITH_DOXYGEN=OFF
|
|
|
|
-DDCMTK_WITH_ZLIB=OFF
|
|
|
|
-DDCMTK_WITH_OPENSSL=OFF
|
|
|
|
-DDCMTK_WITH_PNG=OFF
|
|
|
|
-DDCMTK_WITH_TIFF=OFF
|
|
|
|
-DDCMTK_WITH_XML=OFF
|
|
|
|
-DDCMTK_WITH_ICONV=OFF
|
|
|
|
-DDCMTK_FORCE_FPIC_ON_UNIX=ON
|
|
|
|
-DDCMTK_OVERWRITE_WIN32_COMPILER_FLAGS=OFF
|
|
|
|
-DDCMTK_ENABLE_BUILTIN_DICTIONARY=ON
|
|
|
|
-DDCMTK_ENABLE_PRIVATE_TAGS=ON
|
|
|
|
-DBUILD_APPS=OFF
|
|
|
|
-DDCMTK_ENABLE_CXX11=ON
|
2019-07-06 09:01:46 +08:00
|
|
|
-DDCMTK_WIDE_CHAR_FILE_IO_FUNCTIONS=ON
|
|
|
|
-DDCMTK_WIDE_CHAR_MAIN_FUNCTION=ON
|
2019-09-18 00:31:06 +08:00
|
|
|
-DCMAKE_DEBUG_POSTFIX=d
|
2019-05-03 13:57:43 +08:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DINSTALL_HEADERS=OFF
|
|
|
|
-DINSTALL_OTHER=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
vcpkg_fixup_cmake_targets()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/dcmtk RENAME copyright)
|