3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 05:43:40 +01:00
dft_tools/cmake
Olivier Parcollet ab3b9b3d4d Draft libclang based python wrapper desc generator
- 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.
2014-07-08 23:37:59 +02:00
..
BuildSphinx.cmake Clean a bit CMakeFiles 2013-08-02 10:16:28 +02:00
Doxyfile.in work on doc for gf, and details. 2013-12-30 22:32:16 +01:00
FindBuildF2pyModule.cmake add little modif to make the dft apps 2013-07-23 20:57:53 +02:00
FindCompilerCheck.cmake Cmake. Fix #97 and #89 2014-07-02 21:44:51 +02:00
FindFFTW.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindGit3.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindGMP.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindGSL.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindLapack.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindMathJax.cmake Fix cmake so that -DMATHJAX_PATH works 2013-09-09 14:49:15 +02:00
FindNFFT.cmake Correction to previous commit 2014-04-04 12:03:06 +02:00
FindPython.cmake Remove Cython & prepare wrapper for applis. 2014-05-30 19:34:13 +02:00
FindPythonWrapperMacro.cmake wrapper: add use_module 2014-05-30 19:34:13 +02:00
FindTestCSimple.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindTestScriptHdf.cmake Clean a bit CMakeFiles 2013-08-02 10:16:28 +02:00
FindTRIQS.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindTriqsMacros.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
FindTriqsTest.cmake.in cmake: in test macro, add rpath 2013-10-11 16:19:38 +02:00
postinst.in First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
prerm.in First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
run_test_simple.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
run_test.cmake First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
triqs_config.h.in clean the TRIQS_COMPILER macros 2013-10-21 15:12:08 +02:00
TRIQSConfig.cmake.in Draft libclang based python wrapper desc generator 2014-07-08 23:37:59 +02:00