mirror of
https://github.com/triqs/dft_tools
synced 2024-07-25 12:17:37 +02:00
![Oleg E. Peil](/assets/img/avatar_default.png)
Conflicts: CMakeLists.txt python/CMakeLists.txt python/converters/__init__.py test/CMakeLists.txt
15 lines
549 B
CMake
15 lines
549 B
CMake
# where will the python end up in triqs?
|
|
set(python_destination pytriqs/applications/dft)
|
|
|
|
# site_customize for build
|
|
set(package_name "pytriqs.applications")
|
|
configure_file(${CMAKE_SOURCE_DIR}/cmake/sitecustomize.py ${CMAKE_CURRENT_BINARY_DIR}/sitecustomize.py @ONLY)
|
|
|
|
# make a local pytriqs copy
|
|
triqs_prepare_local_pytriqs(${python_destination})
|
|
|
|
# to be able to run from toplevel
|
|
execute_process(COMMAND ln -fs ${CMAKE_BINARY_DIR}/fortran/vertex/vertex.so ${CMAKE_BINARY_DIR}/pytriqs/${python_destination})
|
|
|
|
add_subdirectory(converters/plovasp)
|