|Status:||Archived||Start date:||06 Oct 2013|
|Target version:||Sprint 18|
We need one standalone C++ example in Examples/cpp/ex001_CylindersAndPrism which will reproduce python example from
The goal is to demonstrate the User how to use BornAgain from standalone C++ application.
(We need only one such example for completeness, our Examples section will mostly contain only Python scripts.)
This C++ example can be simply taken from
Tests/FunctionalTests/TestCore/IsGISAXS01 and provided with minimal ROOT histograms output at the end.
The tricky part is
1) Write CMakeLists.txt for this Example which will show how to compile with BornAgain
Here we have to invent how to tell the example where BornAgain libraries and include dirs are.
1.1) Probably through cmake -DBornAgain_DIR=/usr
1.2) Or through environment variable BORNAGAIN which is set by thisbornagain.sh
2) UserManual's Example section should be updated to mention possibility to use C++