Skip to content

Commit

Permalink
Merge pull request #72 from rabraker/sig-deps
Browse files Browse the repository at this point in the history
Make the .pyf signature files a dependency of the wrapper generation.
  • Loading branch information
roryyorke committed Aug 10, 2019
2 parents b89132c + 429e1d6 commit 613f080
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion slycot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ set(FSOURCES
src/NF01BV.f src/SB10JD.f src/UE01MD.f)

set(F2PYSOURCE src/_wrapper.pyf)
set(F2PYSOURCE_DEPS
src/analysis.pyf src/math.pyf src/mathematical.pyf
src/transform.pyf src/synthesis.pyf)

configure_file(version.py.in version.py @ONLY)

Expand All @@ -123,7 +126,8 @@ add_custom_command(
OUTPUT SLYCOTmodule.c _wrappermodule.c _wrapper-f2pywrappers.f
COMMAND ${F2PY_EXECUTABLE} -m SLYCOT
${CMAKE_CURRENT_SOURCE_DIR}/${F2PYSOURCE}
)
DEPENDS ${F2PYSOURCE_DEPS} ${F2PYSOURCE}
)

add_library(
${SLYCOT_MODULE} SHARED
Expand Down

0 comments on commit 613f080

Please sign in to comment.