From: Dawid Jagiela Date: Mon, 20 Aug 2012 10:56:05 +0000 (+0200) Subject: added CMake build file for source/maxlik/src_CSA/ X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=a087f0058604ec2af787f4784363082c35959006;p=unres.git added CMake build file for source/maxlik/src_CSA/ --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ecd514..68e0eae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,7 +222,7 @@ if(UNRES_NA_MMCE) add_subdirectory(source/cluster/unres/src) add_subdirectory(source/xdrfpdb/src) add_subdirectory(source/xdrfpdb/src-M) - + add_subdirectory(source/maxlik/src_CSA) else() add_subdirectory(source/unres/src_MD) @@ -238,6 +238,6 @@ else() add_subdirectory(source/cluster/unres/src) add_subdirectory(source/xdrfpdb/src) add_subdirectory(source/xdrfpdb/src-M) - + add_subdirectory(source/maxlik/src_CSA) endif(UNRES_NA_MMCE) diff --git a/source/maxlik/src_CSA/CMakeLists.txt b/source/maxlik/src_CSA/CMakeLists.txt new file mode 100644 index 0000000..f87497f --- /dev/null +++ b/source/maxlik/src_CSA/CMakeLists.txt @@ -0,0 +1,45 @@ +# +# 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}) + +