forked from m3g/packmol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
57 lines (52 loc) · 1.09 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
cmake_minimum_required(VERSION 2.6)
project(packmol Fortran)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif(NOT CMAKE_BUILD_TYPE)
if(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
add_compile_options(
-Wall "$<$<CONFIG:Debug>:-Werror>"
)
endif()
# Build the executable
add_executable(packmol
cenmass.f90
gencan.f
pgencan.f90
initial.f90
title.f90
setsizes.f90
getinp.f90
strlength.f90
output.f90
checkpoint.f90
writesuccess.f90
fparc.f90
gparc.f90
gwalls.f90
comprest.f90
comparegrad.f90
packmol.f90
polartocart.f90
resetboxes.f90
tobar.f90
setijk.f90
setibox.f90
restmol.f90
swaptype.f90
swaptypemod.f90
ahestetic.f90
heuristics.f90
flashsort.f90
jacobi.f90
random.f90
sizes.f90
usegencan.f90
compute_data.f90
flashmod.f90
computef.f90
computeg.f90
input.f90
)
# Installation directive
install(TARGETS packmol DESTINATION bin)