view CodeAnalysis/README.txt @ 163:54991a36af1d

fix mingw builds that are not compatible with boost 1.85.0 in the Docker image
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 May 2024 23:06:12 +0200
parents b6835b7a7c0a
children 3c72d1f4c2a5
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 python-pystache
$ python2 ./ParseOrthancSDK.py --libclang=libclang-4.0.so.1 \
          --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \
          --target ../Sources/Autogenerated


Usage on Ubuntu 20.04
=====================

$ sudo apt-get install python-clang-6.0 python3-pystache
$ python3 ./ParseOrthancSDK.py --libclang=libclang-6.0.so.1 \
          --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \
          --target ../Sources/Autogenerated


Usage on Ubuntu 22.04
=====================

$ sudo apt-get install python3-clang-14 python3-pystache
$ python3 ./ParseOrthancSDK.py --libclang=libclang-14.so.1 \
          --source ../Resources/Orthanc/Sdk-1.10.0/orthanc/OrthancCPlugin.h \
          --target ../Sources/Autogenerated


Run through docker
==================

$ docker-compose up --build