mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
ab3b9b3d4d
- Given a C++ file, e.g. a class, it calls libclang to parse the C++, and retrieve from its AST the necessary info to write a xxx_desc.py file. - THIS IS WORK IN PROGRESS. There are several corner cases for which we may want (or not) the script to do better. - It is not designed to be used automatically, but to to 90 % of the boring typesetting work... - The preamble still needs manual choices - The properties, methods, functions are automatically declared in the _desc file, in the simplest possible way. - An option --properties, -p : to transform some simple methods or get_x, set_x into python properties, not methods. Cf doc. - requires clang (tested on 3.4). - the script is configured by cmake and installed in INSTALLATION_DIRECTORY/bin, with some other files. It can only be used for applications, after the lib has been installed. It is cmake configured, to include automatically the various include paths configure in the triqs installation, including the triqs install dir in order to simplify invocation. - TODO : improve, and test more in real cases. |
||
---|---|---|
.. | ||
BuildSphinx.cmake | ||
Doxyfile.in | ||
FindBuildF2pyModule.cmake | ||
FindCompilerCheck.cmake | ||
FindFFTW.cmake | ||
FindGit3.cmake | ||
FindGMP.cmake | ||
FindGSL.cmake | ||
FindLapack.cmake | ||
FindMathJax.cmake | ||
FindNFFT.cmake | ||
FindPython.cmake | ||
FindPythonWrapperMacro.cmake | ||
FindTestCSimple.cmake | ||
FindTestScriptHdf.cmake | ||
FindTRIQS.cmake | ||
FindTriqsMacros.cmake | ||
FindTriqsTest.cmake.in | ||
postinst.in | ||
prerm.in | ||
run_test_simple.cmake | ||
run_test.cmake | ||
triqs_config.h.in | ||
TRIQSConfig.cmake.in |