mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 11:43:47 +01:00
af084f5d59
- new parameter class : parameters are viewed as form, built in C++, and filled in C++/python. Each field of the form as a precise C++ type (erased using standard techniques). First tests ok, to be reread/checked. TODO : serialization is commented. Lead to long compilation time & large code due to boost::serialization. Use h5 when possible. - wrapper : - separated the converters of the wrapped type in the TRIQS library - necessary for parameters (it used outside an .so) and potentially other codes, outside an .so module
19 lines
546 B
CMake
19 lines
546 B
CMake
|
|
SET(PYTHON_SOURCES
|
|
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
|
|
${CMAKE_CURRENT_SOURCE_DIR}/aux.py
|
|
)
|
|
|
|
# Install python sources
|
|
install (FILES ${PYTHON_SOURCES} DESTINATION ${TRIQS_PYTHON_LIB_DEST}/wrap_test)
|
|
|
|
# Build C extension module
|
|
triqs_python_extension(my_module wrap_test)
|
|
triqs_python_extension(my_moduleB wrap_test)
|
|
# ??triqs_set_rpath_for_target(my_module)
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
|
|
|
|
install (FILES ${CMAKE_SOURCE_DIR}/pytriqs/__init__.py.template DESTINATION "include/pytriqs/gf/local" RENAME __init__.py)
|
|
|