unres Adam's changes
[unres.git] / source / unres / src-HCD-5D / CMakeLists.txt
index 1cbe55b..186c88e 100644 (file)
@@ -103,6 +103,8 @@ set(UNRES_MDM_SRC0
          contact_cp.F
          make_xx_list.F
          int_from_cart.F
+         gen_rand_conf_mchain.F
+         orig_frame_chain.F
 )
 
 set(UNRES_MDM_SRC3 energy_p_new_barrier.F energy_p_new-sep_barrier.F gradient_p.F )
@@ -176,6 +178,8 @@ set(UNRES_MDM_PP_SRC
         contact_cp.F
         make_xx_list.F
         int_from_cart.F
+        gen_rand_conf_mchain.F
+        orig_frame_chain.F
 ) 
 
 if(UNRES_DFA)
@@ -248,7 +252,11 @@ if(UNRES_DFA)
 endif(UNRES_DFA)
 
 if(UNRES_5D)
- set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" )
+ if (UNRES_SUMSLD)
+  set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG " )
+ else()
+  set(CPPFLAGS "${CPPFLAGS} -DFIVEDIAG -DLBFGS" )
+ endif()
 endif()
 
 #=========================================
@@ -313,7 +321,11 @@ if(UNRES_DFA)
  set(DFA "_DFA")
 endif()
 if(UNRES_5D)
- set(HCD-5D "_HCD-5D")
+ if (UNRES_SUMSLD)
+  set(HCD-5D "_HCD-5D-SUMSLD")
+ else()
+  set(HCD-5D "_HCD-5D")
+ endif()
 endif()
 
 if(UNRES_WITH_MPI)