Permalink
Browse files

build.sh: added missing ref to Generated.Custom.cs, format commands

  • Loading branch information...
andyli committed Aug 21, 2016
1 parent b14e6b3 commit 13316387cde1e7daa62320fd09c90befed46dae2
Showing with 25 additions and 2 deletions.
  1. +25 −2 build.sh
View
27 build.sh 100644 → 100755
@@ -7,6 +7,29 @@ if [ -z "$2" ]; then
exit 1
fi
mcs /out:ClangSharpPInvokeGenerator.exe ClangSharpPInvokeGenerator/ClangSharp.Extensions.cs ClangSharpPInvokeGenerator/EnumVisitor.cs ClangSharpPInvokeGenerator/Extensions.cs ClangSharpPInvokeGenerator/ForwardDeclarationVisitor.cs ClangSharpPInvokeGenerator/FunctionVisitor.cs ClangSharpPInvokeGenerator/Generated.cs ClangSharpPInvokeGenerator/ICXCursorVisitor.cs ClangSharpPInvokeGenerator/Program.cs ClangSharpPInvokeGenerator/StructVisitor.cs ClangSharpPInvokeGenerator/TypeDefVisitor.cs
mono ClangSharpPInvokeGenerator.exe --m clang --p clang_ --namespace ClangSharp --output Generated.cs --libraryPath $1 --include $2 --file $2/clang-c/Index.h --file $2/clang-c/CXString.h --file $2/clang-c/Documentation.h --file $2/clang-c/CXErrorCode.h
mcs /out:ClangSharpPInvokeGenerator.exe \
ClangSharpPInvokeGenerator/ClangSharp.Extensions.cs \
ClangSharpPInvokeGenerator/EnumVisitor.cs \
ClangSharpPInvokeGenerator/Extensions.cs \
ClangSharpPInvokeGenerator/ForwardDeclarationVisitor.cs \
ClangSharpPInvokeGenerator/FunctionVisitor.cs \
ClangSharpPInvokeGenerator/Generated.cs \
ClangSharpPInvokeGenerator/Generated.Custom.cs \
ClangSharpPInvokeGenerator/ICXCursorVisitor.cs \
ClangSharpPInvokeGenerator/Program.cs \
ClangSharpPInvokeGenerator/StructVisitor.cs \
ClangSharpPInvokeGenerator/TypeDefVisitor.cs
mono ClangSharpPInvokeGenerator.exe \
--m clang \
--p clang_ \
--namespace ClangSharp \
--output Generated.cs \
--libraryPath $1 \
--include $2 \
--file $2/clang-c/Index.h \
--file $2/clang-c/CXString.h \
--file $2/clang-c/Documentation.h \
--file $2/clang-c/CXErrorCode.h
mcs /target:library /out:ClangSharp.dll Generated.cs Extensions.cs

0 comments on commit 1331638

Please sign in to comment.