Skip to content

Commit

Permalink
Avoid keeping deleted classes around in generated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 26, 2024
1 parent d419466 commit e581036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CSharp/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ endif
endif

$(BUILT_SOURCES): ../SWIG/*.i
rm -f csharp/*.cs
$(SWIG) -csharp -c++ -outdir csharp \
-namespace QuantLib -o cpp/quantlib_wrap.cpp ../SWIG/quantlib.i

Expand Down
1 change: 1 addition & 0 deletions Java/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ endif

quantlib_wrap.cpp: ../SWIG/*.i
mkdir -p org/quantlib
rm -f org/quantlib/*.java
$(SWIG) $(SWIGFLAGS) -java -c++ -outdir org/quantlib \
-package org.quantlib -o quantlib_wrap.cpp ../SWIG/quantlib.i

Expand Down

0 comments on commit e581036

Please sign in to comment.