dft_tools/fortran/dmftproj/CMakeLists.txt

27 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})
2018-01-22 23:36:21 +01:00
find_package(LAPACK)
target_link_libraries(dmftproj ${LAPACK_LIBRARIES})
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 ******** ")
2018-06-18 11:12:29 +02:00
message(STATUS " Wien2k 14.2 and older : after installation of TRIQS, copy the files from ")
2013-07-23 19:49:42 +02:00
message(STATUS " ${CMAKE_INSTALL_PREFIX}/share/triqs/Wien2k_SRC_files/SRC_templates ")
message(STATUS " to your Wien2k installation WIENROOT/SRC_templates (Cf documentation). ")
2018-06-18 11:12:29 +02:00
message(STATUS " For newer versions these files are already shipped with Wien2k. ")
2013-07-23 19:49:42 +02:00
message(STATUS "-----------------------------------------------------------------------------")
install (FILES ${WIEN_SRC_TEMPL_FILES} DESTINATION share/triqs/Wien2k_SRC_files/SRC_templates )