Mercurial > hg > orthanc
changeset 4537:1de2fc0363cb
sanity checks in CheckOrthancFrameworkSymbols.py
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Mar 2021 10:16:06 +0100 |
parents | 237ec4c5a24d |
children | 8a7523da6a9b |
files | OrthancFramework/Resources/CheckOrthancFrameworkSymbols.py |
diffstat | 1 files changed, 17 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CheckOrthancFrameworkSymbols.py Fri Feb 26 16:50:52 2021 +0100 +++ b/OrthancFramework/Resources/CheckOrthancFrameworkSymbols.py Tue Mar 02 10:16:06 2021 +0100 @@ -72,7 +72,7 @@ for root, dirs, files in os.walk(os.path.join(ROOT, '..', 'Sources')): for name in files: if (os.path.splitext(name)[1] == '.h' and - name != 'Enumerations_TransferSyntaxes.impl.h'): + not name.endswith('.impl.h')): SOURCES.append(os.path.join(root, name)) AMALGAMATION = '/tmp/CheckOrthancFrameworkSymbols.cpp' @@ -84,6 +84,7 @@ tu = index.parse(AMALGAMATION, [ + '--std=c++11', '-DORTHANC_BUILDING_FRAMEWORK_LIBRARY=1', '-DORTHANC_BUILD_UNIT_TESTS=0', '-DORTHANC_ENABLE_BASE64=1', @@ -91,6 +92,7 @@ '-DORTHANC_ENABLE_CURL=1', '-DORTHANC_ENABLE_DCMTK=1', '-DORTHANC_ENABLE_DCMTK_JPEG=1', + '-DORTHANC_ENABLE_DCMTK_JPEG_LOSSLESS=1', '-DORTHANC_ENABLE_DCMTK_NETWORKING=1', '-DORTHANC_ENABLE_DCMTK_TRANSCODING=1', '-DORTHANC_ENABLE_JPEG=1', @@ -99,15 +101,29 @@ '-DORTHANC_ENABLE_LOGGING_STDIO=0', '-DORTHANC_ENABLE_LUA=1', '-DORTHANC_ENABLE_MD5=1', + '-DORTHANC_ENABLE_MONGOOSE=1', '-DORTHANC_ENABLE_PKCS11=1', '-DORTHANC_ENABLE_PNG=1', '-DORTHANC_ENABLE_PUGIXML=1', + '-DORTHANC_ENABLE_SQLITE=1', '-DORTHANC_ENABLE_SSL=1', + '-DORTHANC_ENABLE_ZLIB=1', '-DORTHANC_SANDBOXED=0', '-DORTHANC_SQLITE_STANDALONE=0', + '-DORTHANC_SQLITE_VERSION=3027001', + '-I/usr/include/jsoncpp', # On Ubuntu 18.04 + '-I/usr/include/lua5.3', # On Ubuntu 18.04 ]) +if len(tu.diagnostics) != 0: + for d in tu.diagnostics: + print(' ** %s' % d) + print('') + raise Exception('Error') + + + FILES = [] COUNT = 0 ALL_TYPES = []