f87497f8e7366f5ff36aea9ffd9e84cfaa5031f0
[unres.git] / source / maxlik / src_CSA / CMakeLists.txt
1 #
2 # CMake project file for UNRES with MD for single chains
3
4 cmake_minimum_required(VERSION 2.8)
5 enable_language (Fortran)
6
7
8 #================================
9 # Set source file lists
10 #================================
11 set(MAXLIK_SRC0
12         cored.f
13 #       maxlik-opt-el.f
14 #       maxlik-opt.f
15         maxlik-opt-multprot.f
16 #       maxlik-opt-tmscore.f
17         minsumsl.f
18         rmdd.f
19         sumsld.f
20
21
22 set(MAXLIK_BIN "maxlik-opt-multprot")
23 set(OPT "-g -fbounds-check")
24 set(OPT1"-O")
25
26 set(FFLAGS "-c ${OPT} -I.")
27 set(FFLAGS1 "-c ${OPT1} -I.")
28
29
30 set(CPPFLAGS "-DLINUX")
31
32
33 #=========================================
34 # Build the binary
35 #=========================================
36 set(MAXLIK_SRCS ${MAXLIK_SRC0} )
37
38
39 #=========================================
40 # Build the binary
41 #=========================================
42 add_executable(MAXLIK ${MAXLIK_SRCS} )
43 set_target_properties(MAXLIK PROPERTIES OUTPUT_NAME ${MAXLIK_BIN})
44
45