view CodeAnalysis/README.txt @ 73:da73be4b361b

no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to link against system-wide orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 12 Jun 2021 08:00:57 +0200
parents 9e466631660a
children 627b8a19fb9f
line wrap: on
line source


Introduction
============

This folder contains the Python script that analyzes the header of the
Orthanc Plugin SDK using clang, then automatically wraps this SDK as a
Python extension module. The output of the script is written to
"../Sources/Autogenerated".


Usage on Ubuntu 18.04
=====================

$ sudo apt-get install python-clang-4.0
$ python2 ./ParseOrthancSDK.py --libclang=libclang-4.0.so.1 \
          --source ../Resources/Orthanc/Sdk-1.8.1/orthanc/OrthancCPlugin.h \
          --target ../Sources/Autogenerated