3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/pytriqs/gf/local/CMakeLists.txt
Olivier Parcollet 8c0bf592d0 Fix compilation of py_converter.
- py_converters in hpp files
- add guard to prevent inclusion in the wrapper (to avoid 2
  specialisation of the same py_converter).
2014-05-20 22:24:30 +02:00

28 lines
1004 B
CMake

SET(PYTHON_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
${CMAKE_CURRENT_SOURCE_DIR}/block_gf.py
${CMAKE_CURRENT_SOURCE_DIR}/descriptor_base.py
${CMAKE_CURRENT_SOURCE_DIR}/descriptors.py
${CMAKE_CURRENT_SOURCE_DIR}/_gf_imfreq.py
${CMAKE_CURRENT_SOURCE_DIR}/_gf_imtime.py
#${CMAKE_CURRENT_SOURCE_DIR}/_gf_legendre.py
${CMAKE_CURRENT_SOURCE_DIR}/_gf_refreq.py
${CMAKE_CURRENT_SOURCE_DIR}/_gf_retime.py
#${CMAKE_CURRENT_SOURCE_DIR}/gf_two_real_times.py
${CMAKE_CURRENT_SOURCE_DIR}/_gf_plot.py
${CMAKE_CURRENT_SOURCE_DIR}/inverse.py
${CMAKE_CURRENT_SOURCE_DIR}/lazy_expressions.py
${CMAKE_CURRENT_SOURCE_DIR}/tools.py
)
# Install python sources
install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/gf/local)
# Build C extension module
triqs_python_extension(gf gf/local)
# ?? was not needed ? triqs_set_rpath_for_target(my_module)
install (FILES ${CMAKE_SOURCE_DIR}/pytriqs/__init__.py.template DESTINATION "include/pytriqs/gf/local" RENAME __init__.py)