File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change
1
+ generator " emscripten"
2
+ platform " emscripten"
3
+ architecture " wasm32"
4
+
5
+ includedirs
6
+ {
7
+ " .." ,
8
+ " ../../include" ,
9
+ }
10
+
11
+ output " gen"
12
+
13
+ module " tests"
14
+ namespace " test"
15
+ headers
16
+ {
17
+ " Builtins.h" ,
18
+ " Classes.h" ,
19
+ " Classes2.h" ,
20
+ " Delegates.h" ,
21
+ " Enums.h" ,
22
+ " Overloads.h"
23
+ }
Original file line number Diff line number Diff line change @@ -38,9 +38,8 @@ generate=true
38
38
39
39
if [ $generate = true ]; then
40
40
echo " ${green} Generating bindings${reset} "
41
- dotnet $rootdir /bin/${dotnet_configuration} _${platform} /CppSharp.CLI.dll \
42
- --gen=emscripten --platform=emscripten --arch=wasm32 --property=keywords \
43
- -I$dir /.. -I$rootdir /include -o $dir /gen -m tests $dir /../* .h
41
+ dotnet $rootdir /bin/${dotnet_configuration} /CppSharp.CLI.dll --property=keywords \
42
+ $dir /bindings.lua
44
43
fi
45
44
46
45
echo " ${green} Building generated binding files${reset} "
You can’t perform that action at this time.
0 commit comments