File tree 7 files changed +7
-8
lines changed
7 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 23
23
<GlobalTargetFramework >$(TargetFramework)</GlobalTargetFramework >
24
24
<BaseIntermediateOutputPath >$(ObjDir)$(MSBuildProjectName)\</BaseIntermediateOutputPath >
25
25
<BaseOutputPath >$(RootDir)bin\</BaseOutputPath >
26
- <OutputPath >$(BaseOutputPath)$(Configuration)_$(PlatformTarget) \</OutputPath >
26
+ <OutputPath >$(BaseOutputPath)$(Configuration)\</OutputPath >
27
27
<ActionDir >$(BuildDir)$(PremakeAction)\</ActionDir >
28
28
<NativeProjectsDir >$(ActionDir)projects\</NativeProjectsDir >
29
29
<PackageDir >$(RootDir)artifacts\package\</PackageDir >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ bindir = path.join(rootdir, "bin")
59
59
objsdir = path .join (builddir , " obj" );
60
60
gendir = path .join (builddir , " gen" );
61
61
actionbuilddir = path .join (builddir , _ACTION == " gmake2" and " gmake" or (_ACTION and _ACTION or " " ));
62
- bindircfg = path .join (bindir , " %{cfg.buildcfg}_%{cfg.platform} " );
62
+ bindircfg = path .join (bindir , " %{cfg.buildcfg}" );
63
63
prjobjdir = path .join (objsdir , " %{prj.name}" , " %{cfg.buildcfg}" )
64
64
65
65
msvc_buildflags = { " /MP" , " /wd4267" }
Original file line number Diff line number Diff line change 99
99
100
100
test ()
101
101
{
102
- dotnet test {" $bindir /${configuration} _ $platform " ," $gendir " /* }/* .Tests* .dll --nologo
102
+ dotnet test {" $bindir /${configuration} " ," $gendir " /* }/* .Tests* .dll --nologo
103
103
}
104
104
105
105
clean ()
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ generate=true
30
30
31
31
if [ $generate = true ]; then
32
32
echo " ${green} Generating bindings${reset} "
33
- dotnet $rootdir /bin/${dotnet_configuration} _ ${platform} /CppSharp.CLI.dll \
33
+ dotnet $rootdir /bin/${dotnet_configuration} /CppSharp.CLI.dll \
34
34
--gen=emscripten --platform=emscripten --arch=wasm32 \
35
35
-I$dir /.. -I$rootdir /include -o $dir /gen -m tests $dir /../* .h
36
36
fi
Original file line number Diff line number Diff line change 16
16
fi
17
17
18
18
echo " ${green} Generating bindings${reset} "
19
- dotnet $rootdir /bin/${configuration} _ ${platform} /CppSharp.CLI.dll \
19
+ dotnet $rootdir /bin/${configuration} /CppSharp.CLI.dll \
20
20
--gen=napi -I$dir /.. -o $dir /gen -m tests $dir /../* .h
21
21
22
22
echo " ${green} Building generated binding files${reset} "
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ dir=$(cd "$(dirname "$0")"; pwd)
4
4
rootdir=" $dir /../.."
5
5
dotnet_configuration=Release
6
6
configuration=debug
7
- platform=x64
8
7
jsinterp=" $dir /runtime/build/qjs"
9
8
10
9
cd $dir
@@ -23,7 +22,7 @@ generate=true
23
22
24
23
if [ $generate = true ]; then
25
24
echo " ${green} Generating bindings${reset} "
26
- dotnet $rootdir /bin/${dotnet_configuration} _ ${platform} /CppSharp.CLI.dll \
25
+ dotnet $rootdir /bin/${dotnet_configuration} /CppSharp.CLI.dll \
27
26
$dir /bindings.lua
28
27
fi
29
28
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ generate=true
21
21
22
22
if [ $generate = true ]; then
23
23
echo " ${green} Generating bindings${reset} "
24
- dotnet $rootdir /bin/${dotnet_configuration} _ ${platform} /CppSharp.CLI.dll \
24
+ dotnet $rootdir /bin/${dotnet_configuration} /CppSharp.CLI.dll \
25
25
--gen=ts -I$dir /.. -I$rootdir /include -o $dir /gen -m tests $dir /../* .h
26
26
fi
27
27
You can’t perform that action at this time.
0 commit comments