# HG changeset patch # User Sebastien Jodogne # Date 1550773023 -3600 # Node ID 8d1ea00a990ae11bc573024d244312346ed3dd09 # Parent 5e8e020893d079981c17f452ed32b029503593c5 upgrade to pugixml 1.9 diff -r 5e8e020893d0 -r 8d1ea00a990a NEWS --- a/NEWS Thu Feb 21 18:51:36 2019 +0100 +++ b/NEWS Thu Feb 21 19:17:03 2019 +0100 @@ -23,12 +23,13 @@ * More tolerance wrt. missing DICOM tags that must be returned by Orthanc C-FIND SCP * New CMake option: "-DMSVC_MULTIPLE_PROCESSES=ON" for parallel build with Visual Studio * Upgraded dependencies for static builds (notably Windows): - - Boost 1.69.0 - - DCMTK 3.6.4 - - GoogleTest 1.8.1 + - boost 1.69.0 + - dcmtk 3.6.4 + - googletest 1.8.1 + - libjpeg 9c - libpng 1.6.36 - - libjpeg 9c - openssl 1.0.2p + - pugixml 1.9 Version 1.5.4 (2019-02-08) diff -r 5e8e020893d0 -r 8d1ea00a990a Resources/CMake/PugixmlConfiguration.cmake --- a/Resources/CMake/PugixmlConfiguration.cmake Thu Feb 21 18:51:36 2019 +0100 +++ b/Resources/CMake/PugixmlConfiguration.cmake Thu Feb 21 19:17:03 2019 +0100 @@ -1,7 +1,7 @@ if (STATIC_BUILD OR NOT USE_SYSTEM_PUGIXML) - set(PUGIXML_SOURCES_DIR ${CMAKE_BINARY_DIR}/pugixml-1.4) - set(PUGIXML_MD5 "7c56c91cfe3ecdee248a8e4892ef5781") - set(PUGIXML_URL "http://orthanc.osimis.io/ThirdPartyDownloads/pugixml-1.4.tar.gz") + set(PUGIXML_SOURCES_DIR ${CMAKE_BINARY_DIR}/pugixml-1.9) + set(PUGIXML_MD5 "7286ee2ed11376b6b780ced19fae0b64") + set(PUGIXML_URL "http://orthanc.osimis.io/ThirdPartyDownloads/pugixml-1.9.tar.gz") DownloadPackage(${PUGIXML_MD5} ${PUGIXML_URL} "${PUGIXML_SOURCES_DIR}") diff -r 5e8e020893d0 -r 8d1ea00a990a UnitTestsSources/VersionsTests.cpp --- a/UnitTestsSources/VersionsTests.cpp Thu Feb 21 18:51:36 2019 +0100 +++ b/UnitTestsSources/VersionsTests.cpp Thu Feb 21 19:17:03 2019 +0100 @@ -57,6 +57,10 @@ # include #endif +#if ORTHANC_ENABLE_PUGIXML == 1 +# include +#endif + TEST(Versions, Zlib) { @@ -194,6 +198,12 @@ #endif +#if ORTHANC_ENABLE_PUGIXML == 1 +TEST(Version, Pugixml) +{ + ASSERT_EQ(190, PUGIXML_VERSION); +} #endif +#endif