also link to module source code
This commit is contained in:
parent
de92f5ced0
commit
b5a6748626
@ -60,6 +60,7 @@ def main():
|
||||
file_name = ntpath.basename(f)
|
||||
output.append('\n\n%s' % file_name)
|
||||
output.append('-'*len(file_name))
|
||||
output.append('`[Source code] <https://github.com/scisoft/autocmake/blob/master/modules/%s>`_' % file_name)
|
||||
with open(f, 'r') as s:
|
||||
s_out = extract_rst_blobs(s.read())
|
||||
if s_out == '':
|
||||
|
@ -9,14 +9,14 @@
|
||||
#
|
||||
# CMAKE_Fortran_MODULE_DIRECTORY (${PROJECT_BINARY_DIR}/include/fortran)
|
||||
#
|
||||
# Example ``autocmake.cfg`` entry::
|
||||
# Example autocmake.cfg entry::
|
||||
#
|
||||
# [fc]
|
||||
# source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake
|
||||
# docopt: --fc=<FC> Fortran compiler [default: gfortran].
|
||||
# --extra-fc-flags=<EXTRA_FCFLAGS> Extra Fortran compiler flags [default: ''].
|
||||
# export: 'FC=%s' % arguments['--fc']
|
||||
# define: '-DEXTRA_FCFLAGS=%s' % arguments['--extra-fc-flags']
|
||||
# define: '-DEXTRA_FCFLAGS="%s"' % arguments['--extra-fc-flags']
|
||||
|
||||
enable_language(Fortran)
|
||||
|
||||
|
@ -6,7 +6,7 @@ source: https://github.com/scisoft/autocmake/raw/master/modules/fc.cmake
|
||||
docopt: --fc=<FC> Fortran compiler [default: gfortran].
|
||||
--extra-fc-flags=<EXTRA_FCFLAGS> Extra Fortran compiler flags [default: ''].
|
||||
export: 'FC=%s' % arguments['--fc']
|
||||
define: '-DEXTRA_FCFLAGS=%s' % arguments['--extra-fc-flags']
|
||||
define: '-DEXTRA_FCFLAGS="%s"' % arguments['--extra-fc-flags']
|
||||
|
||||
[compilers]
|
||||
source: https://github.com/scisoft/autocmake/raw/master/compilers/GNU.Fortran.cmake
|
||||
|
Loading…
x
Reference in New Issue
Block a user