# # CMake project file for UNRES with MD for single chains # cmake_minimum_required(VERSION 2.8) enable_language (Fortran) #================================ # Set source file lists #================================ set(MAXLIK_SRC0 cored.f # maxlik-opt-el.f # maxlik-opt.f maxlik-opt-multprot.f # maxlik-opt-tmscore.f minsumsl.f rmdd.f sumsld.f ) set(MAXLIK_BIN "maxlik-opt-multprot") set(OPT "-g -fbounds-check") set(OPT1"-O") set(FFLAGS "-c ${OPT} -I.") set(FFLAGS1 "-c ${OPT1} -I.") set(CPPFLAGS "-DLINUX") #========================================= # Build the binary #========================================= set(MAXLIK_SRCS ${MAXLIK_SRC0} ) #========================================= # Build the binary #========================================= add_executable(MAXLIK ${MAXLIK_SRCS} ) set_target_properties(MAXLIK PROPERTIES OUTPUT_NAME ${MAXLIK_BIN})