3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 12:23:41 +01:00
dft_tools/fortran/dmftproj/CMakeLists.txt

26 lines
1.4 KiB
CMake
Raw Normal View History

2013-07-23 19:49:42 +02:00
# List the sources
2013-08-07 16:30:09 +02:00
set(SOURCES modules.f dmftproj.f readcomline.f set_ang_trans.f setsym.f
set_rotloc.f timeinv.f read_k_list.f set_projections.f orthogonal.f
rot_projectmat.f density.f symmetrize_mat.f rot_dens.f
orthogonal_wannier.f outputqmc.f outbwin.f outband.f)
2013-07-23 19:49:42 +02:00
# The main target and what to link with...
2013-08-07 16:30:09 +02:00
add_executable(dmftproj ${SOURCES})
target_link_libraries(dmftproj ${TRIQS_LIBRARY_LAPACK})
2013-07-23 19:49:42 +02:00
# where to install
2013-08-07 16:30:09 +02:00
install (TARGETS dmftproj DESTINATION bin)
2013-07-23 19:49:42 +02:00
2013-08-07 16:30:09 +02:00
# install wien2k files
SET(D ${CMAKE_CURRENT_SOURCE_DIR}/SRC_templates/)
2013-07-23 19:49:42 +02:00
SET(WIEN_SRC_TEMPL_FILES ${D}/case.cf_f_mm2 ${D}/case.cf_p_cubic ${D}/case.indmftpr ${D}/run_triqs ${D}/runsp_triqs)
message(STATUS "-----------------------------------------------------------------------------")
message(STATUS " ******** WARNING ******** ")
message(STATUS " Wien2k users : after installation of TRIQS, copy the files from ")
message(STATUS " ${CMAKE_INSTALL_PREFIX}/share/triqs/Wien2k_SRC_files/SRC_templates ")
message(STATUS " to your Wien2k installation WIENROOT/SRC_templates (Cf documentation). ")
message(STATUS " This is not handled automatically by the installation process. ")
message(STATUS "-----------------------------------------------------------------------------")
install (FILES ${WIEN_SRC_TEMPL_FILES} DESTINATION share/triqs/Wien2k_SRC_files/SRC_templates )