11#!/usr/bin/python
22
3-
43#
54# PCMSolver, an API for the Polarizable Continuum Model
65# Copyright (C) 2017 Roberto Di Remigio, Luca Frediani and collaborators.
4948 -h --help Show this screen.
5049"""
5150
51+
5252def glob_sources_cxx (dir_name ):
5353 """Create a list of C++ headers and sources to be used in a CMakeLists.txt file."""
5454 headers = 'list(APPEND headers_list '
@@ -63,6 +63,7 @@ def glob_sources_cxx(dir_name):
6363 + '# List of sources\n ' + sources
6464 return message
6565
66+
6667def glob_sources_c (dir_name ):
6768 """Create a list of C headers and sources to be used in a CMakeLists.txt file."""
6869 headers = 'list(APPEND headers_list '
@@ -77,6 +78,7 @@ def glob_sources_c(dir_name):
7778 + '# List of sources\n ' + sources
7879 return message
7980
81+
8082def glob_sources_fortran (dir_name ):
8183 """Create a list of Fortran sources to be used in a CMakeLists.txt file."""
8284 types = ('*.f' , '*.F' , '*.f77' , '*.F77' , '*.f90' , '*.F90' )
@@ -90,6 +92,7 @@ def glob_sources_fortran(dir_name):
9092 message = '# List of sources\n ' + sources
9193 return message
9294
95+
9396try :
9497 arguments = docopt .docopt (options , argv = None )
9598except docopt .DocoptExit :
@@ -99,7 +102,7 @@ def glob_sources_fortran(dir_name):
99102
100103# Grab command-line arguments
101104libname = arguments ['--libname' ]
102- lang = arguments ['--lang' ]
105+ lang = arguments ['--lang' ]
103106
104107root_directory = os .getcwd ()
105108dname = os .path .join (root_directory , libname )
0 commit comments