X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Funres%2Fsrc_MD%2FCMakeLists.txt;h=c038066064b9e2efb84e3ef87a4503af191fd449;hb=52166346a9daa454a65b719c708cbcd6fe96da34;hp=dea499c5187f88ad64d7ef805ad9e18a29921dd9;hpb=56083f90a84f3e7b1ca4d288c940e368bb5390ee;p=unres.git diff --git a/source/unres/src_MD/CMakeLists.txt b/source/unres/src_MD/CMakeLists.txt index dea499c..c038066 100644 --- a/source/unres/src_MD/CMakeLists.txt +++ b/source/unres/src_MD/CMakeLists.txt @@ -308,6 +308,12 @@ endif(UNRES_WITH_MPI) target_link_libraries( UNRES_BIN-MD xdrf ) #========================================= +# INSTALL +#========================================= + +install(TARGETS UNRES_BIN-MD RUNTIME DESTINATION unrespack/bin) + +#========================================= # TESTS #========================================= @@ -331,6 +337,13 @@ target_link_libraries( UNRES_BIN-MD xdrf ) #========================================= # test_single_ala.sh #========================================= +# +# Set parmaeters depending on force field +if(UNRES_MD_FF STREQUAL "GAB") + set(UNRES_BONDPAR "bond.parm") +elseif(UNRES_MD_FF STREQUAL "E0LL2Y") + set(UNRES_BONDPAR "bond_AM1.parm") +endif(UNRES_MD_FF STREQUAL "GAB") FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/scripts/test_single_ala.sh "#!/bin/sh @@ -340,7 +353,7 @@ export PREFIX=ala10 UNRES_BIN=./${UNRES_BIN} #----------------------------------------------------------------------------- DD=${CMAKE_SOURCE_DIR}/PARAM -export BONDPAR=$DD/bond.parm +export BONDPAR=$DD/${UNRES_BONDPAR} export THETPAR=$DD/thetaml.5parm export ROTPAR=$DD/scgauss.parm export TORPAR=$DD/torsion_631Gdp.parm