Skip to content
Snippets Groups Projects
Commit a3fa8663 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

fix f2hysop.pyf

parent bb6ad46b
No related branches found
No related tags found
No related merge requests found
......@@ -466,8 +466,8 @@ if(DOXYGEN_FOUND)
if(DOXY-NOTFOUND)
message(STATUS "Warning, doxypy seems to be missing on your system. You may not be able to properly generate the documentation.")
endif()
configure_file(${CMAKE_SOURCE_DIR}/DoxyConf/hysop.doxyfile.in ${CMAKE_BINARY_DIR}/DoxyConf/hysop.doxyfile)
add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/DoxyConf/hysop.doxyfile
configure_file(${CMAKE_SOURCE_DIR}/docs/config/hysop.doxyfile.in ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile)
add_custom_target(doc COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_BINARY_DIR}/docs/config/hysop.doxyfile
COMMENT "Generate hysop documentation using doxygen.")
else()
message(STATUS "Warning : cmake cannot find doxygen on your system. It means you will not be able to generate documentation for hysop.")
......
......@@ -15,7 +15,7 @@
# --> create f2hysop.pyf that will be used to generate hysop.f2hysop module.
#
function(write_main_pyf_file filename)
set(_file ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}/${filename}.pyf.in)
set(_file ${CMAKE_SOURCE_DIR}/${PACKAGE_NAME}/${filename}.pyf)
file(WRITE ${_file}
"! -*- f90 -*-\n
! Generated file - Do not edit.\n
......
! -*- f90 -*-
! Generated file - Do not edit.
! Note: the context of this file is case sensitive.
python module f2hysop ! in
interface
! Example
include '@CMAKE_SOURCE_DIR@/hysop/fortran/template.pyf'
! precision
include '@CMAKE_SOURCE_DIR@/hysop/f2py/parameters.pyf'
! fftw
include '@CMAKE_SOURCE_DIR@/hysop/f2py/fftw2py.pyf'
! scales
include '@CMAKE_SOURCE_DIR@/hysop/f2py/scales2py.pyf'
end interface
end python module f2hysop
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment